What's with all this math

pull/337/head 2023.12.06.efca016
Lim Chee Aun 2023-12-05 19:28:42 +08:00
rodzic 5be3e22467
commit 8009a8d743
1 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -714,11 +714,14 @@
}
.status.medium .content ~ * .media-container:is(.media-eq2, .media-gt2),
.status.medium .content ~ .media-container:is(.media-eq2, .media-gt2) {
/*
50px = avatar size
12px = gap
*/
/* 50px = avatar size */
margin-left: calc(-1 * ((50px / 2)));
/*
outer padding = 16px
gap = 12px
so... 16 - 12 = 4
*/
margin-right: -4px;
}
.status.large :is(.media-container, .media-container.media-gt2) {
height: auto;