Move hidden media placeholder to shared components (#33404)

* Move hidden media placeholder to shared components

* Add Snapshots

* Remove legacy hidden media mx class
This commit is contained in:
Zack
2026-05-06 11:23:14 +00:00
committed by GitHub
parent 1cc868a25a
commit b5711264dd
12 changed files with 207 additions and 55 deletions
@@ -1,29 +0,0 @@
.mx_HiddenMediaPlaceholder {
border: none;
width: 100%;
height: 100%;
inset: 0;
/* To center the text in the middle of the frame */
display: flex;
align-items: center;
justify-content: center;
text-align: center;
cursor: pointer;
background-color: $header-panel-bg-color;
> div {
color: $accent;
/* Icon alignment */
display: flex;
> svg {
margin-top: auto;
margin-bottom: auto;
}
}
}
.mx_EventTile:hover .mx_HiddenMediaPlaceholder {
background-color: $background;
}