mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 01:35:36 -04:00
Email library compose button: scope taller+lower variant to desktop only
Wrap the height:28px / top:0 rule in @media (min-width:769px) so it can't leak into mobile, where a different touch-friendly variant already sets min-height:36px + top:-2px.
This commit is contained in:
+6
-2
@@ -29812,8 +29812,12 @@ body.doc-find-active mark.doc-find-mark.current {
|
||||
/* Select + Refresh sit slightly lower than Compose on desktop. */
|
||||
#email-lib-select-btn, #email-lib-refresh-btn { top: -2px; }
|
||||
/* New (Compose) button gets a slightly taller, slightly lower variant
|
||||
on desktop so it reads as the primary action of the row. */
|
||||
#email-lib-compose-btn { height: 28px; top: 0; }
|
||||
on desktop so it reads as the primary action of the row. Scoped to
|
||||
desktop so the mobile touch-friendly variant (further down) stays in
|
||||
charge for ≤768px. */
|
||||
@media (min-width: 769px) {
|
||||
#email-lib-compose-btn { height: 28px; top: 0; }
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
/* On mobile they're 1px higher than desktop. */
|
||||
#email-lib-select-btn, #email-lib-refresh-btn { top: -3px; }
|
||||
|
||||
Reference in New Issue
Block a user