Allow household switcher reordering #3

Merged
nalalangan merged 8 commits from feature/household-reordering into feature-custom-store-locations 2026-05-31 00:26:48 -09:00
Showing only changes of commit 467ad2b036 - Show all commits

View File

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