Skip to content

Commit

Permalink
Fix CSS warnings (mastodon#32266)
Browse files Browse the repository at this point in the history
  • Loading branch information
c960657 authored Nov 22, 2024
1 parent d0753ec commit 9ebed5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
23 changes: 5 additions & 18 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6154,13 +6154,6 @@ a.status-card {
}
}

.onboard-sliders {
display: inline-block;
max-width: 30px;
max-height: auto;
margin-inline-start: 10px;
}

.safety-action-modal {
width: 600px;
flex-direction: column;
Expand Down Expand Up @@ -8739,6 +8732,7 @@ noscript {
&__item {
flex-shrink: 0;
background: lighten($ui-base-color, 12%);
color: $darker-text-color;
border: 0;
border-radius: 3px;
margin: 2px;
Expand Down Expand Up @@ -8775,7 +8769,6 @@ noscript {
font-weight: 500;
text-align: center;
margin-inline-start: 6px;
color: $darker-text-color;
}

&:hover,
Expand All @@ -8784,10 +8777,7 @@ noscript {
background: lighten($ui-base-color, 16%);
transition: all 200ms ease-out;
transition-property: background-color, color;

&__count {
color: lighten($darker-text-color, 4%);
}
color: lighten($darker-text-color, 4%);
}

&.active {
Expand All @@ -8798,10 +8788,7 @@ noscript {
$ui-highlight-color,
80%
);

.reactions-bar__item__count {
color: lighten($highlight-text-color, 8%);
}
color: lighten($highlight-text-color, 8%);
}
}

Expand Down Expand Up @@ -10416,7 +10403,7 @@ noscript {

&__text {
flex: 1 1 auto;
font-style: 14px;
font-size: 14px;
line-height: 20px;

strong {
Expand Down Expand Up @@ -10474,7 +10461,7 @@ noscript {
&__name {
flex: 1 1 auto;
color: $darker-text-color;
font-style: 14px;
font-size: 14px;
line-height: 20px;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
5 changes: 0 additions & 5 deletions app/javascript/styles/mastodon/polls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
background: darken($ui-primary-color, 5%);
}

&::-ms-fill {
border-radius: 4px;
background: darken($ui-primary-color, 5%);
}

&::-webkit-progress-value {
border-radius: 4px;
background: darken($ui-primary-color, 5%);
Expand Down

0 comments on commit 9ebed5d

Please sign in to comment.