-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix aspect-ratio for some videos in mastodon v4.1.5-nightly-2023-07-26
- Loading branch information
1 parent
bba691e
commit 840921e
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
1.6.7rc4-nightly */ | ||
1.6.7-nightly */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1374,6 +1374,14 @@ body.embed .detailed-status, | |
width: calc(100% - calc(var(--size-avatar) + var(--gap-default))) !important; | ||
} | ||
|
||
/* Fix aspect-ratio for some videos in mastodon v4.1.5-nightly-2023-07-26 */ | ||
.layout-multiple-columns div[style*='aspect-ratio']:has(.video-player):not([class]) { | ||
|
||
/* It's inlined so we have to use !important */ | ||
/* stylelint-disable-next-line */ | ||
aspect-ratio: unset !important; | ||
} | ||
|
||
.layout-multiple-columns .status .status-card { | ||
margin-left: calc(var(--size-avatar) + var(--gap-default)); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
1.6.7rc4-nightly */ | ||
1.6.7-nightly */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1373,6 +1373,14 @@ body.embed .detailed-status, | |
width: calc(100% - calc(var(--size-avatar) + var(--gap-default))) !important; | ||
} | ||
|
||
/* Fix aspect-ratio for some videos in mastodon v4.1.5-nightly-2023-07-26 */ | ||
.layout-single-column div[style*='aspect-ratio']:has(.video-player):not([class]) { | ||
|
||
/* It's inlined so we have to use !important */ | ||
/* stylelint-disable-next-line */ | ||
aspect-ratio: unset !important; | ||
} | ||
|
||
.layout-single-column .status .status-card { | ||
margin-left: calc(var(--size-avatar) + var(--gap-default)); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters