Active style when click on media
This commit is contained in:
parent
7f5214c8c6
commit
a1401e0b69
|
@ -364,7 +364,7 @@ a.mention span {
|
|||
background-color: var(--link-bg-hover-color);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.status-link:active {
|
||||
.status-link:active:not(:has(.media:active)) {
|
||||
filter: brightness(0.95);
|
||||
}
|
||||
|
||||
|
|
|
@ -361,6 +361,9 @@
|
|||
.status .media:is(:hover, :focus) {
|
||||
border-color: var(--outline-hover-color);
|
||||
}
|
||||
.status .media:active {
|
||||
filter: brightness(0.8);
|
||||
}
|
||||
.status .media :is(img, video) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in a new issue