mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Design store: lay out icon action row as 2x2 instead of 4 across
Taller wasn't what was asked for - wider was. A 2x2 grid gives each button the full card-half width instead of a cramped quarter. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
d319d989da
commit
f113dbbecb
2 files changed
+8
-8
No files matched your search
+6
-6
@@ -3414,7 +3414,8 @@
|
||||
}
|
||||
|
||||
.ts-design-theme-card-actions {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.4rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
@@ -3446,15 +3447,14 @@
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Icon row (edit/duplicate/export/delete) - big, evenly-spaced tap targets,
|
||||
there's plenty of room in a custom-theme card for them. */
|
||||
/* Icon row (edit/duplicate/export/delete) - laid out 2x2 instead of 4 across
|
||||
so each button gets the full card-half width instead of a cramped quarter. */
|
||||
.ts-design-theme-card-actions button {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 3.8rem;
|
||||
padding: 0.8rem 0;
|
||||
min-height: 2.8rem;
|
||||
padding: 0.6rem 0;
|
||||
}
|
||||
|
||||
.ts-design-store-card-actions {
|
||||
|
||||
Reference in new issue
Block a user