Web Page: Fix file preview margins (#5105)

This commit is contained in:
Alexander Zinchuk 2024-10-26 13:02:02 +04:00
parent f0ee58a2be
commit d51404cf8d
2 changed files with 2 additions and 6 deletions

View File

@ -197,10 +197,6 @@
}
}
.File .file-preview {
margin-inline-end: 0.75rem !important;
}
@media (min-width: 1921px) {
@supports (aspect-ratio: 1) {
&:not(.in-preview) {

View File

@ -623,9 +623,9 @@
}
// Moved below `.has-subheader` to overwrite its styles
&.is-inverted-media.has-fact-check .media-inner,
&.is-inverted-media.has-fact-check .media-inner:not(.file-preview),
&.is-inverted-media.has-fact-check .Album,
&.text:not(.is-inverted-media) .media-inner,
&.text:not(.is-inverted-media) .media-inner:not(.file-preview),
&.text:not(.is-inverted-media) .Album {
margin-bottom: 0.375rem !important;