MediaAttachmentGrid: remove css modules
This commit is contained in:
parent
2aa2cf21da
commit
9bc93cae82
3 changed files with 31 additions and 45 deletions
|
@ -238,35 +238,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.tootAttachmentGrp {
|
||||
/* Note: MeidaAttachmentGrid has hard-coded layout calcalation */
|
||||
composes: cardNoPad from "../material/cards.module.css";
|
||||
margin-top: 1em;
|
||||
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
|
||||
margin-right: var(--card-pad, 0);
|
||||
gap: 4px;
|
||||
|
||||
> :where(img, video) {
|
||||
max-height: 35vh;
|
||||
min-height: 40px;
|
||||
min-width: 40px;
|
||||
object-fit: contain;
|
||||
max-width: 100%;
|
||||
background-color: var(--tutu-color-surface-d);
|
||||
border-radius: 2px;
|
||||
border: 1px solid var(--tutu-color-surface-d);
|
||||
transition: outline-width 60ms var(--tutu-anim-curve-std), border-color 60ms var(--tutu-anim-curve-std);
|
||||
contain: strict;
|
||||
content-visibility: auto;
|
||||
|
||||
&:hover,
|
||||
&:focus-visible {
|
||||
outline: 8px solid var(--media-color-accent, var(--tutu-color-surface-d));
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tootBottomActionGrp {
|
||||
composes: cardGutSkip from "../material/cards.module.css";
|
||||
padding-block: calc((var(--card-gut) - 10px) / 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue