more minor results page styling
The trick was setting flex-direction to row-reverse, which makes the option names hug their 1st, 2nd etc while still overflowing nicely and sitting in the center of the page.
This commit is contained in:
parent
1a61d4aa3c
commit
7429c445a2
1 changed files with 2 additions and 3 deletions
|
|
@ -18,16 +18,15 @@ body {
|
|||
|
||||
#results {
|
||||
display: grid;
|
||||
grid-template-columns: auto 30%;
|
||||
grid-template-columns: auto 3em;
|
||||
column-gap: 7px;
|
||||
row-gap: 5px;
|
||||
}
|
||||
|
||||
#results > div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-direction: row-reverse;
|
||||
flex-wrap: wrap;
|
||||
min-width: 10em;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue