The +/- glyphs were wrapped in a flex-centered div, but only the + button had been converted — the - button still used a plain span and rendered off-center. Apply the same wrapping to both. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
96 lines
1.4 KiB
SCSS
96 lines
1.4 KiB
SCSS
@use '../../styles/variables' as *;
|
|
|
|
.customizer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $space-3;
|
|
padding: $space-3;
|
|
border: 1px solid $color-border;
|
|
border-radius: $radius;
|
|
background: $color-surface;
|
|
}
|
|
|
|
.heading {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $space-2;
|
|
}
|
|
|
|
.option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $space-2;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
|
|
span:first-of-type {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.delta {
|
|
color: $color-text-muted;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.stepperRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: $space-3;
|
|
border-top: 1px solid $color-border;
|
|
}
|
|
|
|
.price {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.stepper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $space-2;
|
|
}
|
|
|
|
.stepperButton {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
padding: 0;
|
|
margin-right: 0;
|
|
border-radius: 50%;
|
|
border: 1px solid $color-border;
|
|
background: $color-background;
|
|
color: $color-text;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s ease;
|
|
|
|
.icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
&:hover:not(:disabled) {
|
|
border-color: $color-primary;
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.count {
|
|
min-width: 1.5rem;
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|