-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes safe-area issues all over the UI: - Issues where the safe area was applied to elements where it should not, e.g. the settings menus' entries. - Issues where the safe area was missing, e.g. model cards, which were hidden under the notch. Due to webpack's CssMinimizerPlugin minimizing `0px` to `0` when overriding the Framework7 safe area CSS vars, which then broke the calculation, a new .css file has been introduced. --------- Signed-off-by: Florian Hotze <dev@florianhotze.com>
- Loading branch information
1 parent
1783d8f
commit b611805
Showing
7 changed files
with
49 additions
and
24 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* CSS that shouldn't get minimized */ | ||
/* e.g. due to CssMinimizerPlugin removing unit from 0px, which breaks calculations */ | ||
.block-narrow { | ||
--f7-safe-area-left: 0px; | ||
--f7-safe-area-outer-left: 0px; | ||
--f7-safe-area-right: 0px; | ||
--f7-safe-area-outer-right: 0px; | ||
} |
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
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