Skip to content

Commit

Permalink
fix: css specificity not working during minification (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Nov 30, 2024
1 parent a5dd875 commit b78ff28
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/features/comment/CommentHeader.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

.personLink {
&& {
&.personLink {
color: var(--ion-text-color);
}

Expand Down
2 changes: 1 addition & 1 deletion src/features/community/titleSearch/TitleSearch.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
text-align: inherit;
outline: none;

&& {
&.input {
padding-top: 0;
padding-bottom: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/features/inbox/InboxItemMoreActions.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.button {
composes: plainButton from "#/features/shared/shared.module.css";

&& {
&.button {
font-size: 1.12em;
}
}
2 changes: 1 addition & 1 deletion src/features/media/video/Player.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
top: 0;
right: 0;

&& {
&.volumeButton {
padding: 14px;
font-size: 26px;
color: #aaa;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.button {
composes: plainButton from "#/features/shared/shared.module.css";

&& {
&.button {
margin: -6px 0; /* prevent size from breaking line height */
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.pillIonList {
width: 100%;

&& {
&.pillIonList {
margin: 0;
}
}
Expand Down

0 comments on commit b78ff28

Please sign in to comment.