Mobile pass 2: reward checkmark spacing, admin table/cell/radio/slider sizing on phones, alert preview scaling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f6cd67ed0d
commit
cc5b9518e4
3 files changed
+18
-1
No files matched your search
@@ -47,7 +47,12 @@
|
|||||||
/* Phones: wide tables scroll inside their own box instead of pushing the page; controls never exceed the card. */
|
/* Phones: wide tables scroll inside their own box instead of pushing the page; controls never exceed the card. */
|
||||||
@media (max-width: 782px) {
|
@media (max-width: 782px) {
|
||||||
.sg-admin table.sg-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
.sg-admin table.sg-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
||||||
.sg-admin .sg-table th, .sg-admin .sg-table td { min-width: 4.5em; }
|
.sg-admin .sg-table th, .sg-admin .sg-table td { min-width: 3em; padding: 8px 6px; font-size: 13px; }
|
||||||
|
.sg-admin .sg-table code { overflow-wrap: anywhere; word-break: break-all; font-size: 12px; }
|
||||||
|
.sg-admin .sg-table td:last-child .button { margin: 0 4px 4px 0; }
|
||||||
|
.sg-admin .sg-card details > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
|
||||||
|
.sg-admin .sg-card label > input[type="radio"], .sg-admin .sg-card label > input[type="checkbox"] { margin-right: 6px; }
|
||||||
|
.sg-admin .sg-card p > label + .description, .sg-admin .sg-card p > label { display: inline-block; margin: 4px 0; }
|
||||||
.sg-admin select, .sg-admin input[type="text"], .sg-admin input[type="url"], .sg-admin input[type="number"], .sg-admin textarea { max-width: 100%; box-sizing: border-box; }
|
.sg-admin select, .sg-admin input[type="text"], .sg-admin input[type="url"], .sg-admin input[type="number"], .sg-admin textarea { max-width: 100%; box-sizing: border-box; }
|
||||||
.sg-admin .sg-card { padding-left: 14px; padding-right: 14px; }
|
.sg-admin .sg-card { padding-left: 14px; padding-right: 14px; }
|
||||||
}
|
}
|
||||||
@@ -11,3 +11,13 @@
|
|||||||
.sga-alert-head{font-weight:800;font-size:1.2em}
|
.sga-alert-head{font-weight:800;font-size:1.2em}
|
||||||
.sga-alert-head b{color:#22d3ee}
|
.sga-alert-head b{color:#22d3ee}
|
||||||
.sga-idle{color:#bbb;font-size:14px;align-self:center}
|
.sga-idle{color:#bbb;font-size:14px;align-self:center}
|
||||||
|
|
||||||
|
/* Phones: radio rows breathe, slider fills the width, preview stage scales and never overflows. */
|
||||||
|
@media (max-width:782px){
|
||||||
|
.sga-form label{display:inline-block;margin:6px 0;min-height:32px}
|
||||||
|
.sga-form input[type=range]{width:100%;min-height:32px}
|
||||||
|
.sga-stage{min-height:120px;padding:10px;font-size:16px;overflow:hidden;box-sizing:border-box;max-width:100%}
|
||||||
|
.sga-alert{box-sizing:border-box}
|
||||||
|
.sga-alert-media img,.sga-alert-media video{max-height:180px}
|
||||||
|
.sga-media .button{min-height:40px}
|
||||||
|
}
|
||||||
@@ -38,3 +38,5 @@
|
|||||||
|
|
||||||
.sg-donate .sg-next-unlock{margin:0 0 .9rem;padding:.5rem .75rem;border:1px solid rgba(128,128,128,.5);border-left-width:4px;border-radius:.4rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
|
.sg-donate .sg-next-unlock{margin:0 0 .9rem;padding:.5rem .75rem;border:1px solid rgba(128,128,128,.5);border-left-width:4px;border-radius:.4rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
|
||||||
.sg-donate .sg-next-unlock[hidden]{display:none}
|
.sg-donate .sg-next-unlock[hidden]{display:none}
|
||||||
|
.sg-donate .sg-presets button.sg-action{padding-right:2.2em}
|
||||||
|
.sg-donate .sg-presets.sg-actions{padding:0 5px}
|
||||||
Reference in new issue
Block a user