Se corrige css en MAC por cuestiones de compatibilidad

develop
difenix6 2 years ago
parent 4413faa159
commit 243c8b732b
  1. 10
      src/Components/Operaciones/Viaje/Viaje.tsx
  2. 2
      src/Constants/TargetURL.ts
  3. 27
      src/css/autoComplete.css

@ -393,14 +393,14 @@ export const Viaje: FC<IProps> = (props) => {
<Col xs={2}>Origen</Col> <Col xs={2}>Origen</Col>
<Col xs={4}> <Col xs={4}>
<div className='mainDiv'> <div className='mainDiv'>
<Form.Group className='typeahead-form-group'> <Form.Group className='typeahead-form-group1'>
<Form.Control <Form.Control
autoComplete='nope' autoComplete='nope'
type='text' type='text'
id='Origen' id='Origen'
value={Origen} value={Origen}
size='sm' size='sm'
className='dialogLabel' className='textBoxViaje'
onChange={(e) => { onChange={(e) => {
setOrigen(e.target.value) setOrigen(e.target.value)
setSelectedOrigen(false) setSelectedOrigen(false)
@ -437,7 +437,7 @@ export const Viaje: FC<IProps> = (props) => {
</Col> </Col>
<Col xs={4}> <Col xs={4}>
<div className='mainDiv'> <div className='mainDiv'>
<Form.Group className='typeahead-form-group'> <Form.Group className='typeahead-form-group2'>
<Form.Control <Form.Control
autoComplete='nope' autoComplete='nope'
type='text' type='text'
@ -562,7 +562,7 @@ export const Viaje: FC<IProps> = (props) => {
<Col xs={2}>Servicio</Col> <Col xs={2}>Servicio</Col>
<Col xs={4}> <Col xs={4}>
<div className='mainDiv'> <div className='mainDiv'>
<Form.Group className='typeahead-form-group'> <Form.Group className='typeahead-form-3'>
<Form.Control <Form.Control
autoComplete='nope' autoComplete='nope'
type='text' type='text'
@ -654,7 +654,7 @@ export const Viaje: FC<IProps> = (props) => {
<Col xs={2}>Proveedor</Col> <Col xs={2}>Proveedor</Col>
<Col xs={10}> <Col xs={10}>
<div className='mainDiv'> <div className='mainDiv'>
<Form.Group className='typeahead-form-group'> <Form.Group className='typeahead-form-group4'>
<Form.Control <Form.Control
autoComplete='nope' autoComplete='nope'
type='text' type='text'

@ -1,5 +1,5 @@
export class TargetURL { export class TargetURL {
get() { get() {
return (!process.env.NODE_ENV || process.env.NODE_ENV === 'development') ? "https://localhost:7000/api" : "https://www.alphaomega.com.mx/AOLBackend/api" return (!process.env.NODE_ENV || process.env.NODE_ENV === 'development') ? "https://www.alphaomega.com.mx/AOLBackend/api" : "https://www.alphaomega.com.mx/AOLBackend/api"
} }
} }

@ -1,17 +1,32 @@
.mainDiv { .mainDiv {
/* padding-top: 50px; */ /* padding-top: 50px; */
font-family: sans-serif; font-family: sans-serif;
text-align: center; text-align: left;
/*width: 300px;*/ /*width: 300px;*/
/* margin: 0 auto; */ margin: 0 auto;
} }
.typeahead-form-group { .typeahead-form-group {
position: relative; position: relative;
z-index: 10000; z-index: 1000;
} }
.typeahead-list-group { .typeahead-form-group1 {
position: relative;
z-index: 999;
}
.typeahead-form-group2 {
position: relative;
z-index: 998;
}
.typeahead-form-group3 {
position: relative;
z-index: 998;
}
.typeahead-list-group4 {
position: absolute; position: absolute;
width: 100%; width: 100%;
top: 38px; top: 38px;
@ -28,3 +43,7 @@
background: #2d4ddc; background: #2d4ddc;
color: #fff; color: #fff;
} }
.textBoxViaje {
z-index: 100;
}
Loading…
Cancel
Save