You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
opt: move MMRL inset from js to css
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
@import url('https://mui.kernelsu.org/mmrl/insets.css');
|
||||
|
||||
:root {
|
||||
--top-inset: var(--window-inset-top, 0px);
|
||||
--bottom-inset: var(--window-inset-bottom, 0px);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #F5F5F5;
|
||||
padding-top: var(--window-inset-top);
|
||||
padding-bottom: var(--window-inset-bottom);
|
||||
padding-top: var(--top-inset);
|
||||
padding-bottom: var(--bottom-inset);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -14,7 +21,7 @@ body {
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
bottom: 50px;
|
||||
bottom: calc(var(--bottom-inset) + 50px);
|
||||
transition: transform 0.4s ease;
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
|
||||
Reference in New Issue
Block a user