mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41:23 +01:00
Center dropdowns
This commit is contained in:
parent
ccd5e322d6
commit
be19212557
1 changed files with 5 additions and 2 deletions
|
|
@ -846,14 +846,17 @@ div.slider .ui-slider-handle {
|
|||
}
|
||||
|
||||
.dropdown {
|
||||
display: inline-block;
|
||||
/* todo: float: left? */
|
||||
display: block;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown__options {
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 100%;
|
||||
transform: translateX(-50%);
|
||||
border: 1px solid #5e4fa2;
|
||||
background-color: #a4879b;
|
||||
width: 44px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue