Skip to content

Commit

Permalink
Fix alt text modal styling (mastodon#31844)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmstan authored Sep 10, 2024
1 parent 0c3c06f commit e09f9f8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
17 changes: 7 additions & 10 deletions app/javascript/styles/mastodon-light/diff.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@
.error-modal,
.onboarding-modal,
.compare-history-modal,
.report-modal__comment .setting-text__wrapper,
.report-modal__comment .setting-text,
.report-modal__comment,
.report-modal__comment,
.announcements,
.picture-in-picture__header,
.picture-in-picture__footer,
Expand All @@ -169,6 +169,11 @@
border: 1px solid var(--background-border-color);
}

.setting-text__wrapper,
.setting-text {
border: 1px solid var(--background-border-color);
}

.reactions-bar__item:hover,
.reactions-bar__item:focus,
.reactions-bar__item:active {
Expand Down Expand Up @@ -198,14 +203,6 @@
color: $white;
}

.report-modal__comment {
border-right-color: lighten($ui-base-color, 8%);
}

.report-modal__container {
border-top-color: lighten($ui-base-color, 8%);
}

.column-settings__hashtags .column-select__option {
color: $white;
}
Expand Down
16 changes: 9 additions & 7 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3911,7 +3911,7 @@ $ui-header-logo-wordmark-width: 99px;

&__wrapper {
background: $white;
border: 1px solid $ui-secondary-color;
border: 1px solid var(--background-border-color);
margin-bottom: 10px;
border-radius: 4px;

Expand Down Expand Up @@ -6298,9 +6298,10 @@ a.status-card {
.report-modal,
.actions-modal,
.compare-history-modal {
background: lighten($ui-secondary-color, 8%);
color: $inverted-text-color;
border-radius: 8px;
background: var(--background-color);
color: $primary-text-color;
border-radius: 4px;
border: 1px solid var(--background-border-color);
overflow: hidden;
max-width: 90vw;
width: 480px;
Expand Down Expand Up @@ -6344,6 +6345,7 @@ a.status-card {
.report-modal {
width: 90vw;
max-width: 700px;
border: 1px solid var(--background-border-color);
}

.report-dialog-modal {
Expand Down Expand Up @@ -6567,7 +6569,7 @@ a.status-card {

.report-modal__container {
display: flex;
border-top: 1px solid $ui-secondary-color;
border-top: 1px solid var(--background-border-color);

@media screen and (width <= 480px) {
flex-wrap: wrap;
Expand Down Expand Up @@ -6625,7 +6627,7 @@ a.status-card {

.report-modal__comment {
padding: 20px;
border-inline-end: 1px solid $ui-secondary-color;
border-inline-end: 1px solid var(--background-border-color);
max-width: 320px;

p {
Expand All @@ -6636,7 +6638,7 @@ a.status-card {

.setting-text-label {
display: block;
color: $inverted-text-color;
color: $secondary-text-color;
font-size: 14px;
font-weight: 500;
margin-bottom: 10px;
Expand Down

0 comments on commit e09f9f8

Please sign in to comment.