mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-11 17:00:41 +08:00
fixes TimeZone dropdown position: relative issue
This commit is contained in:
parent
3e6d45e82f
commit
3c20ef5fea
2 changed files with 7 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ class InputTimezone extends Component {
|
||||||
{this.props.labelValue}
|
{this.props.labelValue}
|
||||||
</h4>
|
</h4>
|
||||||
<TimezonePicker
|
<TimezonePicker
|
||||||
absolute
|
absolute={false}
|
||||||
defaultValue="Europe/London"
|
defaultValue="Europe/London"
|
||||||
value={this.props.inputValue}
|
value={this.props.inputValue}
|
||||||
placeholder="Select timezone..."
|
placeholder="Select timezone..."
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,16 @@ body {
|
||||||
|
|
||||||
.time-zone-container {
|
.time-zone-container {
|
||||||
background: $color-white;
|
background: $color-white;
|
||||||
|
position: relative;
|
||||||
ul {
|
ul {
|
||||||
width: 100%;
|
width: 99%;
|
||||||
height: 70vh;
|
height: 70vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
position: relative;
|
position: absolute;
|
||||||
|
top: 35px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
background: $color-white;
|
||||||
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue