mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 16:41:36 +01:00
Increase no-gap-breakpoint by 32px to fix overflow (#31889)
This commit is contained in:
parent
5a33a5658b
commit
d2f9075078
2 changed files with 3 additions and 3 deletions
|
@ -63,8 +63,8 @@ export default class ColumnsArea extends ImmutablePureComponent {
|
||||||
children: PropTypes.node,
|
children: PropTypes.node,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Corresponds to (max-width: $no-gap-breakpoint + 285px - 1px) in SCSS
|
// Corresponds to (max-width: $no-gap-breakpoint - 1px) in SCSS
|
||||||
mediaQuery = 'matchMedia' in window && window.matchMedia('(max-width: 1174px)');
|
mediaQuery = 'matchMedia' in window && window.matchMedia('(max-width: 1206px)');
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
renderComposePanel: !(this.mediaQuery && this.mediaQuery.matches),
|
renderComposePanel: !(this.mediaQuery && this.mediaQuery.matches),
|
||||||
|
|
|
@ -87,7 +87,7 @@ $media-modal-media-max-width: 100%;
|
||||||
// put margins on top and bottom of image to avoid the screen covered by image.
|
// put margins on top and bottom of image to avoid the screen covered by image.
|
||||||
$media-modal-media-max-height: 80%;
|
$media-modal-media-max-height: 80%;
|
||||||
|
|
||||||
$no-gap-breakpoint: 1175px;
|
$no-gap-breakpoint: 1207px;
|
||||||
$mobile-breakpoint: 630px;
|
$mobile-breakpoint: 630px;
|
||||||
|
|
||||||
$font-sans-serif: 'mastodon-font-sans-serif' !default;
|
$font-sans-serif: 'mastodon-font-sans-serif' !default;
|
||||||
|
|
Loading…
Reference in a new issue