mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-30 12:50:14 +08:00
fix(hermes): improve dashboard touch targets
This commit is contained in:
@@ -433,6 +433,15 @@
|
||||
text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
[data-engine="hermes"] button.hm-native-dashboard-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
padding: 0 10px;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
[data-engine="hermes"] .hm-native-dashboard-link:hover {
|
||||
color: var(--hm-accent);
|
||||
}
|
||||
@@ -656,8 +665,10 @@
|
||||
}
|
||||
|
||||
[data-engine="hermes"] .hm-btn--icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
@@ -715,6 +726,10 @@
|
||||
background: var(--hm-accent);
|
||||
box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.25);
|
||||
}
|
||||
[data-engine="hermes"] button.hm-pill {
|
||||
min-height: 44px;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
* 7 · Form controls — understated, print-inspired
|
||||
|
||||
Reference in New Issue
Block a user