Skip to content
Snippets Groups Projects
Commit 20066488 authored by Arkerthan's avatar Arkerthan
Browse files

improve option slider CSS

parent b5156b14
No related branches found
No related tags found
1 merge request!12359Add system to create slave pop distribution based on location in world [READY for testing]
...@@ -125,22 +125,22 @@ div.options-group input.full-width { ...@@ -125,22 +125,22 @@ div.options-group input.full-width {
/* slider */ /* slider */
/* very static styling, won't work well on very small screens */ /* very static styling, won't work well on very small screens */
.slider-div { .slider-div {
display: grid; display: flex;
grid-template-columns: max-content max-content max-content auto; gap: 1em;
} }
.slider-div input[type="range"] { .slider-div input[type="range"] {
width: 15em; width: 50%;
min-width: 12em;
} }
.slider-div span { .slider-div span {
width: 8em; width: 100%;
max-width: 8em;
align-self: center; align-self: center;
margin-left: 1em;
} }
.slider-div span:first-child { .slider-div span:first-child {
margin: 0 1em 0 0;
text-align: end; text-align: end;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment