Skip to content

Commit 3f7ceff

Browse files
committed
Visually Disabled Pill Button
1 parent 266413a commit 3f7ceff

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/shared/components/PillButton.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
box-shadow: 0 2px 8px rgba(99, 30, 7, 0.18);
2626
}
2727

28+
.pillButton:disabled {
29+
opacity: 0.5;
30+
cursor: not-allowed;
31+
transform: none;
32+
}
33+
2834
.pillButton:hover,
2935
.pillButton:focus-visible {
3036
transform: translateY(-1px);

0 commit comments

Comments
 (0)