Skip to content

Commit

Permalink
Remove "No alt" indicator now that 4.1.2-nightly has an indicator for…
Browse files Browse the repository at this point in the history
… media that has alt
  • Loading branch information
ronilaukkarinen committed Jul 3, 2023
1 parent 3c6074b commit 763d608
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 52 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 1.5.8rc3-nightly: 2023-07-03

* Fix read more/translate link position
* Remove "No alt" indicator now that 4.1.2-nightly has an indicator for media that has alt

### 1.5.8rc2-nightly: 2023-07-03

Expand Down
26 changes: 0 additions & 26 deletions layout-multiple-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -3044,32 +3044,6 @@ body.embed .button.logo-button:hover,
border-radius: 10px;
}

.layout-single-column .media-gallery__item-thumbnail:has(> img:not([alt]))::after,
.layout-single-column .video-player:has(> video:not([title]))::after,
.layout-single-column .media-gallery__gifv:has(> video:not([title]))::after {
align-self: flex-end;
background-color: var(--color-bg-75);
border-radius: 4px;
bottom: 4px;
color: var(--color-light-text);
content: 'No alt';
display: flex;
font-size: 9px;
font-weight: 500;
height: 14px;
justify-self: flex-end;
left: auto;
line-height: 14px;
opacity: 1;
padding: 2px 5px;
position: absolute;
right: 4px;
text-transform: uppercase;
top: auto;
width: unset;
z-index: 3;
}

.layout-single-column .media-gallery__item-thumbnail:has(> img:not([alt])):focus::after,
.layout-single-column .video-player:has(> video:not([title])):focus::after,
.layout-single-column .media-gallery__gifv:has(> video:not([title])):focus::after,
Expand Down
26 changes: 0 additions & 26 deletions layout-single-column.css
Original file line number Diff line number Diff line change
Expand Up @@ -3050,32 +3050,6 @@ body.embed .button.logo-button:hover,
border-radius: 10px;
}

.layout-single-column .media-gallery__item-thumbnail:has(> img:not([alt]))::after,
.layout-single-column .video-player:has(> video:not([title]))::after,
.layout-single-column .media-gallery__gifv:has(> video:not([title]))::after {
align-self: flex-end;
background-color: var(--color-bg-75);
border-radius: 4px;
bottom: 4px;
color: var(--color-light-text);
content: 'No alt';
display: flex;
font-size: 9px;
font-weight: 500;
height: 14px;
justify-self: flex-end;
left: auto;
line-height: 14px;
opacity: 1;
padding: 2px 5px;
position: absolute;
right: 4px;
text-transform: uppercase;
top: auto;
width: unset;
z-index: 3;
}

.layout-single-column .media-gallery__item-thumbnail:has(> img:not([alt])):focus::after,
.layout-single-column .video-player:has(> video:not([title])):focus::after,
.layout-single-column .media-gallery__gifv:has(> video:not([title])):focus::after,
Expand Down

0 comments on commit 763d608

Please sign in to comment.