Skip to content

Commit

Permalink
Fix stylelint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Jan 14, 2025
1 parent 14031c5 commit 395390f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions app/components/primer/alpha/text_field.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,16 @@
max-width: 25%;
padding-left: var(--base-size-8);
}

&:has( .FormControl-input-trailingVisualLabel) {
max-width: 25%;
padding-left: var(--base-size-8);
}
.FormControl-input-trailingVisualLabel {
overflow: hidden;
text-overflow: ellipsis;
}

& .FormControl-input-trailingVisualLabel {
overflow: hidden;
text-overflow: ellipsis;
}
}
/* TODO: replace with new Button component */
& .FormControl-input-trailingAction {
Expand Down Expand Up @@ -377,6 +379,7 @@
&:has(.FormControl-input-trailingVisualText) .FormControl-input {
padding-inline-end: 25%
}

&:has(.FormControl-input-trailingVisualLabel) .FormControl-input {
padding-inline-end: 25%
}
Expand Down Expand Up @@ -511,6 +514,7 @@
&:has(.FormControl-input-trailingVisualText) .FormControl-input {
padding-inline-end: 25%
}

&:has(.FormControl-input-trailingVisualLabel) .FormControl-input {
padding-inline-end: 25%
}
Expand All @@ -521,6 +525,7 @@
padding-inline-end: 25%;
}
}

&.FormControl-input-wrap--trailingLabel {
& .FormControl-input.FormControl-large {
padding-inline-end: 25%;
Expand Down

0 comments on commit 395390f

Please sign in to comment.