Skip to content

Commit cdc51c4

Browse files
committed
fix: add comments for better understanding of padding and font size adjustments
1 parent ad47d66 commit cdc51c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Dropdown/styles.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ button.chevron {
113113
.option > button > span {
114114
text-align: left;
115115
padding-left: 44px;
116+
// 38px padding-right holds the chevron icon on mobile for better touch targets
116117
padding-right: 38px;
117118
display: inline-block;
118119
width: 100%;
120+
// 0.75rem font-size for mobile to fit content in smaller screens
119121
font-size: 0.75rem;
120122

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

0 commit comments

Comments
 (0)