button sizes

This commit is contained in:
tresabhi committed 2026-10-31 17:26:59 -05:00
1 parent f596737419
commit 5df53458fd
4 files changed
+8 -6

No files matched your search

@@ -22,7 +22,7 @@
} }
&[data-size="major"] { &[data-size="major"] {
font-size: 2em; font-size: 1.25em;
} }
&[data-list-child="horizontal"]:not(:first-child), &[data-list-child="horizontal"]:not(:first-child),
@@ -1,5 +1,11 @@
.icon-button { .icon-button {
padding: var(--space-3); &[data-size="regular"] {
padding: var(--space-2);
}
&[data-size="major"] {
padding: var(--space-3);
}
aspect-ratio: 1 / 1; aspect-ratio: 1 / 1;
} }
@@ -134,7 +134,6 @@
.slot { .slot {
aspect-ratio: 1 / 1; aspect-ratio: 1 / 1;
padding: var(--space-3);
&[data-selected="true"] { &[data-selected="true"] {
z-index: 1; z-index: 1;
@@ -547,9 +547,6 @@ function EquipmentSlotEntry({
rowIndex, rowIndex,
columnIndex, columnIndex,
}: EquipmentSlotProps) { }: EquipmentSlotProps) {
const equipmentIndex = rowIndex * equipmentColumns + columnIndex;
const tank = useDuel("protagonist", DuelModule.Tank);
const equipment = useEquipmentPreset(tank.equipment_preset);
// const { price } = equipment.price.unlock_slot_prices[equipmentIndex]; // const { price } = equipment.price.unlock_slot_prices[equipmentIndex];
return ( return (