Skip to content

Commit e5b8437

Browse files
hxrshxzksen0
authored andcommitted
fix: add comments for better understanding of padding and font size adjustments
1 parent 96297c1 commit e5b8437

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/Dropdown/styles.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ button.chevron {
118118
.option > button > span {
119119
text-align: left;
120120
padding-left: 44px;
121+
// 38px padding-right holds the chevron icon on mobile for better touch targets
121122
padding-right: 38px;
122123
display: inline-block;
123124
width: 100%;
125+
// 0.75rem font-size for mobile to fit content in smaller screens
124126
font-size: 0.75rem;
125127

126128
@media (min-width: $breakpoint-tablet) {

0 commit comments

Comments
 (0)