Align controls to 36/10 and make create modals full-screen on mobile.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -965,16 +965,18 @@ h1 {
|
||||
}
|
||||
|
||||
.field :deep(.trigger) {
|
||||
min-height: 48px;
|
||||
min-height: var(--control-h);
|
||||
height: var(--control-h);
|
||||
}
|
||||
|
||||
.control,
|
||||
.amount,
|
||||
.picker {
|
||||
width: 100%;
|
||||
min-height: 48px;
|
||||
min-height: var(--control-h);
|
||||
height: var(--control-h);
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius);
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1054,15 +1056,16 @@ h1 {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.45rem;
|
||||
padding: 0.28rem;
|
||||
border-radius: 14px;
|
||||
padding: 0.2rem;
|
||||
border-radius: var(--radius);
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.segment button {
|
||||
min-height: 44px;
|
||||
min-height: calc(var(--control-h) - 4px);
|
||||
height: calc(var(--control-h) - 4px);
|
||||
border: 0;
|
||||
border-radius: 12px;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: #64748b;
|
||||
display: flex;
|
||||
@@ -1136,15 +1139,16 @@ h1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-height: 48px;
|
||||
min-height: var(--control-h);
|
||||
height: var(--control-h);
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
padding: 0.2rem;
|
||||
border-radius: var(--radius);
|
||||
padding: 0.15rem;
|
||||
}
|
||||
|
||||
.stepper button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
background: #f0fdfa;
|
||||
@@ -1185,9 +1189,10 @@ h1 {
|
||||
}
|
||||
|
||||
.mini {
|
||||
min-height: 52px;
|
||||
min-height: var(--control-h);
|
||||
height: var(--control-h);
|
||||
border: 1px solid #eef2f6;
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius);
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1336,9 +1341,9 @@ h1 {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.35rem;
|
||||
min-height: 44px;
|
||||
border-radius: 12px;
|
||||
padding: 0.55rem 0.95rem;
|
||||
min-height: var(--control-h);
|
||||
border-radius: var(--radius);
|
||||
padding: 0 0.95rem;
|
||||
font: inherit;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
@@ -1379,8 +1384,9 @@ h1 {
|
||||
|
||||
.mobile-save .btn {
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
border-radius: 14px;
|
||||
min-height: var(--control-h);
|
||||
height: var(--control-h);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
@media (min-width: 960px) {
|
||||
|
||||
Reference in New Issue
Block a user