Fix bottom gap of grid
Browse files- wrdler/ui.py +6 -2
wrdler/ui.py
CHANGED
|
@@ -498,10 +498,11 @@ border-radius: 50% !important;
|
|
| 498 |
position:relative;
|
| 499 |
z-index: 1200;
|
| 500 |
}
|
|
|
|
| 501 |
|
| 502 |
/* grid adjustments */
|
| 503 |
@media (min-width: 560px){
|
| 504 |
-
div[data-testid="stButton"] button { max-width: 100%; aspect-ratio: 16 / 11; min-height:
|
| 505 |
.st-key-new_game_btn > div[data-testid="stButton"] button, .st-key-sort_wordlist_btn > div[data-testid="stButton"] button { min-height: calc(100% + 20px) !important;}
|
| 506 |
.st-emotion-cache-ckafi0 { gap:0.1rem !important; min-height: calc(100% + 20px) !important; aspect-ratio: 16 / 11; width: auto !important; flex: 1 1 auto !important; min-width: 100% !important; max-width: 100% !important;}
|
| 507 |
/*.st-emotion-cache-1n6tfoc { aspect-ratio: 16 / 11; min-height: calc(100% + 20px) !important;}*/
|
|
@@ -511,12 +512,15 @@ border-radius: 50% !important;
|
|
| 511 |
position:relative;
|
| 512 |
z-index: 1200;
|
| 513 |
}
|
|
|
|
| 514 |
|
| 515 |
}
|
| 516 |
div[data-testid="stElementToolbarButtonContainer"], button[data-testid="stBaseButton-elementToolbar"], button[data-testid="stBaseButton-elementToolbar"]:hover {
|
| 517 |
display: none;
|
| 518 |
}
|
| 519 |
-
|
|
|
|
|
|
|
| 520 |
/* Mobile styles */
|
| 521 |
@media (max-width: 640px) {
|
| 522 |
.bw-cell, div[data-testid="stButton"] button, .st-emotion-cache-1permvm {min-width: 1.5rem; min-height:60px;}
|
|
|
|
| 498 |
position:relative;
|
| 499 |
z-index: 1200;
|
| 500 |
}
|
| 501 |
+
.st-emotion-cache-18kf3ut {padding-bottom:3px;}
|
| 502 |
|
| 503 |
/* grid adjustments */
|
| 504 |
@media (min-width: 560px){
|
| 505 |
+
div[data-testid="stButton"] button { max-width: 100%; aspect-ratio: 16 / 11; min-height: 1.75rem; display: flex;;}
|
| 506 |
.st-key-new_game_btn > div[data-testid="stButton"] button, .st-key-sort_wordlist_btn > div[data-testid="stButton"] button { min-height: calc(100% + 20px) !important;}
|
| 507 |
.st-emotion-cache-ckafi0 { gap:0.1rem !important; min-height: calc(100% + 20px) !important; aspect-ratio: 16 / 11; width: auto !important; flex: 1 1 auto !important; min-width: 100% !important; max-width: 100% !important;}
|
| 508 |
/*.st-emotion-cache-1n6tfoc { aspect-ratio: 16 / 11; min-height: calc(100% + 20px) !important;}*/
|
|
|
|
| 512 |
position:relative;
|
| 513 |
z-index: 1200;
|
| 514 |
}
|
| 515 |
+
|
| 516 |
|
| 517 |
}
|
| 518 |
div[data-testid="stElementToolbarButtonContainer"], button[data-testid="stBaseButton-elementToolbar"], button[data-testid="stBaseButton-elementToolbar"]:hover {
|
| 519 |
display: none;
|
| 520 |
}
|
| 521 |
+
@media (max-width: 991px) and (min-width: 640px){
|
| 522 |
+
.st-emotion-cache-18kf3ut {padding-bottom:0;}
|
| 523 |
+
}
|
| 524 |
/* Mobile styles */
|
| 525 |
@media (max-width: 640px) {
|
| 526 |
.bw-cell, div[data-testid="stButton"] button, .st-emotion-cache-1permvm {min-width: 1.5rem; min-height:60px;}
|