-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix advanced view compose form media attachment
- Loading branch information
1 parent
a766cbb
commit ae79a9a
Showing
4 changed files
with
36 additions
and
13 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] | ||
2.0.2 */ | ||
2.0.3 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1659,22 +1659,17 @@ body.embed .detailed-status, | |
width: 100% !important; | ||
} | ||
|
||
.layout-multiple-columns .media-gallery__gifv, | ||
.layout-multiple-columns .detailed-status .audio-player, | ||
.layout-multiple-columns .detailed-status .media-gallery, | ||
.layout-multiple-columns .detailed-status .media-gallery__gifv, | ||
.layout-multiple-columns .detailed-status .media-gallery__preview, | ||
.layout-multiple-columns .detailed-status .video-player { | ||
margin-left: 0; | ||
} | ||
|
||
.layout-multiple-columns .media-gallery__preview { | ||
/* stylelint-disable-next-line */ | ||
margin-left: 0 !important; | ||
/* stylelint-disable-next-line */ | ||
width: 100% !important; | ||
} | ||
|
||
.layout-multiple-columns .media-gallery__item { | ||
outline: 0; | ||
} | ||
|
||
.layout-multiple-columns .media-gallery > .media-gallery__item:nth-of-type(odd), | ||
.layout-multiple-columns .media-gallery > .media-gallery__item:nth-of-type(odd) > a, | ||
.layout-multiple-columns .media-gallery__preview:nth-of-type(odd), | ||
|
@@ -3058,11 +3053,26 @@ body.embed .button.logo-button:hover, | |
z-index: 4; | ||
} | ||
|
||
body .compose-form .compose-form__uploads { | ||
margin-left: 0; | ||
margin-top: 0; | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
|
||
/* New compose form buttons from 4.3.0-alpha 2024-01-27 */ | ||
.layout-multiple-columns .compose-form__dropdowns { | ||
gap: 10px; | ||
} | ||
|
||
.layout-multiple-columns .compose-form .media-gallery__item, | ||
.layout-multiple-columns .compose-form .compose-form__uploads, | ||
.layout-multiple-columns .compose-form .media-gallery { | ||
border: 0; | ||
border-radius: 0; | ||
outline: 0; | ||
} | ||
|
||
.layout-multiple-columns .compose-form__dropdowns .dropdown-button.active, | ||
.layout-multiple-columns .compose-form__dropdowns .dropdown-button { | ||
background-color: transparent; | ||
|
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] | ||
2.0.2 */ | ||
2.0.3 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -3203,6 +3203,14 @@ body .compose-form .compose-form__uploads { | |
gap: 10px; | ||
} | ||
|
||
.layout-single-column .compose-form .media-gallery__item, | ||
.layout-single-column .compose-form .compose-form__uploads, | ||
.layout-single-column .compose-form .media-gallery { | ||
border: 0; | ||
border-radius: 0; | ||
outline: 0; | ||
} | ||
|
||
.layout-single-column .compose-form__dropdowns .dropdown-button.active, | ||
.layout-single-column .compose-form__dropdowns .dropdown-button { | ||
background-color: transparent; | ||
|
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