feature-custom-store-locations #4

Merged
nalalangan merged 16 commits from feature-custom-store-locations into main 2026-05-31 00:35:29 -09:00
Showing only changes of commit 467ad2b036 - Show all commits

View File

@ -71,9 +71,8 @@
top: calc(100% + 0.5rem); top: calc(100% + 0.5rem);
left: 0; left: 0;
right: auto; right: auto;
min-width: 280px; min-width: min(280px, calc(100vw - 2rem));
width: max-content; width: min(320px, calc(100vw - 2rem));
max-width: min(360px, calc(100vw - 2rem));
overflow: hidden; overflow: hidden;
background: var(--card-bg); background: var(--card-bg);
border: 2px solid var(--border); border: 2px solid var(--border);
@ -105,7 +104,7 @@
flex: 1; flex: 1;
min-width: 0; min-width: 0;
width: 100%; width: 100%;
padding: 0.875rem 1rem; padding: 0.875rem 0.625rem 0.875rem 1rem;
background: transparent; background: transparent;
border: none; border: none;
color: var(--text-primary); color: var(--text-primary);
@ -133,24 +132,29 @@
.household-reorder-controls { .household-reorder-controls {
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
flex-shrink: 0; flex-shrink: 0;
gap: 0.25rem; justify-content: center;
padding: 0.375rem 0.5rem 0.375rem 0; gap: 0.125rem;
width: 28px;
padding: 0.25rem 0.25rem 0.25rem 0;
} }
.household-reorder-button { .household-reorder-button {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 32px; width: 22px;
height: 32px; height: 18px;
padding: 0; padding: 0;
background: transparent; background: transparent;
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 6px; border-radius: 4px;
color: var(--text-secondary); color: var(--text-secondary);
cursor: pointer; cursor: pointer;
font-size: 0.55rem;
line-height: 1;
} }
.household-reorder-button:hover:not(:disabled), .household-reorder-button:hover:not(:disabled),
@ -167,7 +171,7 @@
.check-mark { .check-mark {
flex-shrink: 0; flex-shrink: 0;
margin-left: 0.75rem; margin-left: 0.5rem;
color: var(--primary); color: var(--primary);
font-size: 1.1rem; font-size: 1.1rem;
font-weight: bold; font-weight: bold;