-
-
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.
Add bottom padding to iPhones with home bar
- Loading branch information
1 parent
4f6f6b1
commit 62b5904
Showing
4 changed files
with
14 additions
and
41 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.7.2rc5-nightly */ | ||
1.7.2-nightly */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -3389,24 +3389,10 @@ body.embed .button.logo-button:hover, | |
/* Add bottom padding to the navigation panel | ||
on iPhones with the portrait mode home bar */ | ||
|
||
@media | ||
/* iPhone XR and iPhone 11 */ | ||
screen and (device-width: 375px) and (device-height: 812px) and (min-resolution: 2dppx) and (orientation: portrait), | ||
/* iPhone 12, iPhone 12 Pro, iPhone 13, iPhone 13 Pro, and iPhone 14 */ | ||
screen and (device-width: 390px) and (device-height: 844px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone 14 Pro */ | ||
screen and (device-width: 393px) and (device-height: 852px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone XR and iPhone 11 */ | ||
screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 2dppx) and (orientation: portrait), | ||
/* iPhone Xs Max and iPhone 11 Pro Max */ | ||
screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone 12 Pro Max, iPhone 13 Pro Max, and iPhone 14 Plus */ | ||
screen and (device-width: 428px) and (device-height: 926px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone 14 Pro Max */ | ||
screen and (device-width: 430px) and (device-height: 932px) and (min-resolution: 3dppx) and (orientation: portrait) { | ||
.layout-multiple-columns .columns-area__panels__pane--navigational .columns-area__panels__pane__inner { | ||
padding-bottom: 34px; | ||
} | ||
@media screen and (device-width: 375px) and (device-height: 812px) and (min-resolution: 2dppx) and (orientation: portrait), /* iPhone 12, iPhone 12 Pro, iPhone 13, iPhone 13 Pro, and iPhone 14 */ screen and (device-width: 390px) and (device-height: 844px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone 14 Pro */ screen and (device-width: 393px) and (device-height: 852px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone XR and iPhone 11 */ screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 2dppx) and (orientation: portrait), /* iPhone Xs Max and iPhone 11 Pro Max */ screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone 12 Pro Max, iPhone 13 Pro Max, and iPhone 14 Plus */ screen and (device-width: 428px) and (device-height: 926px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone 14 Pro Max */ screen and (device-width: 430px) and (device-height: 932px) and (min-resolution: 3dppx) and (orientation: portrait) { | ||
.layout-multiple-columns .columns-area__panels__pane--navigational .columns-area__panels__pane__inner { | ||
padding-bottom: 34px; | ||
} | ||
} | ||
|
||
/* Retweet animation */ | ||
|
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.7.2rc5-nightly */ | ||
1.7.2-nightly */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -3350,25 +3350,11 @@ body.embed .button.logo-button:hover, | |
/* Add bottom padding to the navigation panel | ||
on iPhones with the portrait mode home bar */ | ||
|
||
@media | ||
/* iPhone XR and iPhone 11 */ | ||
screen and (device-width: 375px) and (device-height: 812px) and (min-resolution: 2dppx) and (orientation: portrait), | ||
/* iPhone 12, iPhone 12 Pro, iPhone 13, iPhone 13 Pro, and iPhone 14 */ | ||
screen and (device-width: 390px) and (device-height: 844px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone 14 Pro */ | ||
screen and (device-width: 393px) and (device-height: 852px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone XR and iPhone 11 */ | ||
screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 2dppx) and (orientation: portrait), | ||
/* iPhone Xs Max and iPhone 11 Pro Max */ | ||
screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone 12 Pro Max, iPhone 13 Pro Max, and iPhone 14 Plus */ | ||
screen and (device-width: 428px) and (device-height: 926px) and (min-resolution: 3dppx) and (orientation: portrait), | ||
/* iPhone 14 Pro Max */ | ||
screen and (device-width: 430px) and (device-height: 932px) and (min-resolution: 3dppx) and (orientation: portrait) { | ||
.layout-single-column .columns-area__panels__pane--navigational .columns-area__panels__pane__inner { | ||
padding-bottom: 34px; | ||
} | ||
} | ||
@media screen and (device-width: 375px) and (device-height: 812px) and (min-resolution: 2dppx) and (orientation: portrait), /* iPhone 12, iPhone 12 Pro, iPhone 13, iPhone 13 Pro, and iPhone 14 */ screen and (device-width: 390px) and (device-height: 844px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone 14 Pro */ screen and (device-width: 393px) and (device-height: 852px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone XR and iPhone 11 */ screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 2dppx) and (orientation: portrait), /* iPhone Xs Max and iPhone 11 Pro Max */ screen and (device-width: 414px) and (device-height: 896px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone 12 Pro Max, iPhone 13 Pro Max, and iPhone 14 Plus */ screen and (device-width: 428px) and (device-height: 926px) and (min-resolution: 3dppx) and (orientation: portrait), /* iPhone 14 Pro Max */ screen and (device-width: 430px) and (device-height: 932px) and (min-resolution: 3dppx) and (orientation: portrait) { | ||
.layout-single-column .columns-area__panels__pane--navigational .columns-area__panels__pane__inner { | ||
padding-bottom: 34px; | ||
} | ||
} | ||
|
||
/* Retweet animation */ | ||
/* stylelint-disable-next-line selector-not-notation */ | ||
|
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