mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
feat: improve mobile design
This commit is contained in:
parent
04f579eab5
commit
e03aba766a
12 changed files with 144 additions and 31 deletions
|
|
@ -85,13 +85,19 @@ svg {
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
width: 100%;
|
width: ~"min(100lvw, calc(100% + env(safe-area-inset-right, 0px) + env(safe-area-inset-left, 0px)))";
|
||||||
height: 100%;
|
height: ~"min(100lvh, calc(100% + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)))";
|
||||||
min-width: 640px;
|
min-width: 640px;
|
||||||
min-height: 480px;
|
min-height: 480px;
|
||||||
font-family: 'PlusJakartaSans', 'sans-serif';
|
font-family: 'PlusJakartaSans', 'sans-serif';
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
|
user-select: none;
|
||||||
|
touch-action: manipulation;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
|
||||||
|
// iOS pads the bottom inset more than needed, so we deduce the actual inset size when using the webapp
|
||||||
|
--calculated-bottom-safe-inset: ~"min(env(safe-area-inset-bottom, 0px), max(16px, calc(100lvh - 100svh - env(safe-area-inset-top, 0px))))";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@
|
||||||
outline-offset: calc(-1 * var(--focus-outline-size));
|
outline-offset: calc(-1 * var(--focus-outline-size));
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
touch-callout: none;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline-style: solid;
|
outline-style: solid;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,11 @@
|
||||||
.main-nav-bars-container {
|
.main-nav-bars-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
overflow: clip;
|
||||||
|
margin-left: env(safe-area-inset-left, 0px);
|
||||||
|
margin-right: env(safe-area-inset-right, 0px);
|
||||||
|
width: calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
.horizontal-nav-bar {
|
.horizontal-nav-bar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -17,18 +22,32 @@
|
||||||
.vertical-nav-bar {
|
.vertical-nav-bar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--horizontal-nav-bar-size);
|
top: var(--horizontal-nav-bar-size);
|
||||||
bottom: 0;
|
bottom: var(--calculated-bottom-safe-inset);
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-content-container {
|
.nav-content-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--horizontal-nav-bar-size);
|
padding-top: calc(var(--horizontal-nav-bar-size) + env(safe-area-inset-top, 0px));
|
||||||
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: var(--vertical-nav-bar-size);
|
left: var(--vertical-nav-bar-size);
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
overflow: scroll;
|
||||||
|
|
||||||
|
--top-overlay-size: calc(var(--horizontal-nav-bar-size) + env(safe-area-inset-top, 0px));
|
||||||
|
--bottom-overlay-size: calc(var(--vertical-nav-bar-size) + var(--calculated-bottom-safe-inset, 0px));
|
||||||
|
--overlap-size: 3rem;
|
||||||
|
--transparency-grandient-pad: 6rem;
|
||||||
|
|
||||||
|
mask: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent calc(var(--top-overlay-size) - var(--overlap-size)),
|
||||||
|
black calc(var(--top-overlay-size) + var(--transparency-grandient-pad)),
|
||||||
|
black 100%
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -36,7 +55,15 @@
|
||||||
.main-nav-bars-container {
|
.main-nav-bars-container {
|
||||||
.nav-content-container {
|
.nav-content-container {
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: var(--vertical-nav-bar-size);
|
padding-bottom: var(--vertical-nav-bar-size);
|
||||||
|
|
||||||
|
mask: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent calc(var(--top-overlay-size) - var(--overlap-size)),
|
||||||
|
black calc(var(--top-overlay-size) + var(--transparency-grandient-pad)),
|
||||||
|
black calc(100% - var(--bottom-overlay-size) - var(--transparency-grandient-pad)),
|
||||||
|
transparent calc(100% - var(--bottom-overlay-size) + var(--overlap-size))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
.vertical-nav-bar {
|
.vertical-nav-bar {
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
padding-top: env(safe-area-inset-top,0px);
|
||||||
|
box-sizing: content-box;
|
||||||
|
|
||||||
.logo-container {
|
.logo-container {
|
||||||
flex: none;
|
flex: none;
|
||||||
|
|
@ -32,7 +34,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-button-container {
|
.back-button-container {
|
||||||
margin-left: 1rem;
|
margin-left: max(0px, calc(1rem - env(safe-area-inset-left, 0px)));
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,11 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1rem;
|
|
||||||
background-color: @color-accent5-dark3;
|
background-color: @color-accent5-dark3;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin: 0px 8px;
|
||||||
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.48), 0px 8px 48px rgba(0, 0, 0, 0.64);
|
||||||
|
|
||||||
.warning-statement {
|
.warning-statement {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
@ -19,8 +22,12 @@
|
||||||
|
|
||||||
.warning-button {
|
.warning-button {
|
||||||
flex: none;
|
flex: none;
|
||||||
margin-left: 1rem;
|
margin-left: 1.5rem;
|
||||||
color: @color-surface-light5-90;
|
color: @color-surface-light5-90;
|
||||||
|
background-color: rgba(0, 0, 0, 0.24);
|
||||||
|
padding: 8px 12px;
|
||||||
|
border-radius: 8px;
|
||||||
|
line-height: 18px;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
@ -50,7 +57,7 @@
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
.warning-statement {
|
.warning-statement {
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 1rem;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
.warning-button {
|
.warning-button {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0, user-scalable=no, viewport-fit=cover">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-title" content="Stremio">
|
<meta name="apple-mobile-web-app-title" content="Stremio">
|
||||||
<link rel="icon" type="image/x-icon" href="<%= htmlWebpackPlugin.options.faviconsPath %>/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="<%= htmlWebpackPlugin.options.faviconsPath %>/favicon.ico">
|
||||||
|
|
|
||||||
|
|
@ -22,17 +22,39 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.addons-container {
|
.addons-container {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
.addons-content {
|
.addons-content {
|
||||||
|
--selectable-inputs-assumed-height: 84px;
|
||||||
|
--top-overlay-size: var(--selectable-inputs-assumed-height);
|
||||||
|
--bottom-vertical-nav-bar-size: 0px;
|
||||||
|
--bottom-overlay-size: calc(var(--bottom-vertical-nav-bar-size) + env(safe-area-inset-bottom, 0px));
|
||||||
|
--overlap-size: 3rem;
|
||||||
|
--transparency-grandient-pad: 6rem;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: calc(100% + var(--bottom-overlay-size));
|
||||||
|
margin-bottom: calc(var(--bottom-overlay-size) * -1);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
||||||
|
.addons-list-container {
|
||||||
|
margin-top: calc(var(--selectable-inputs-assumed-height) * -1);
|
||||||
|
padding: 0 1.5rem;
|
||||||
|
padding-top: var(--selectable-inputs-assumed-height);
|
||||||
|
padding-bottom: var(--bottom-overlay-size, 0px);
|
||||||
|
|
||||||
|
mask: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent calc(var(--top-overlay-size) - var(--overlap-size)),
|
||||||
|
black calc(var(--top-overlay-size) + var(--transparency-grandient-pad)),
|
||||||
|
black 100%
|
||||||
|
);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.selectable-inputs-container {
|
.selectable-inputs-container {
|
||||||
flex: none;
|
flex: none;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
@ -41,6 +63,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
.add-button-container {
|
.add-button-container {
|
||||||
flex: none;
|
flex: none;
|
||||||
|
|
@ -53,6 +76,7 @@
|
||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
border-radius: 3rem;
|
border-radius: 3rem;
|
||||||
background-color: var(--secondary-accent-color);
|
background-color: var(--secondary-accent-color);
|
||||||
|
z-index: 3;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
outline: var(--focus-outline-size) solid var(--secondary-accent-color);
|
outline: var(--focus-outline-size) solid var(--secondary-accent-color);
|
||||||
|
|
@ -133,7 +157,6 @@
|
||||||
.addons-list-container {
|
.addons-list-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
padding: 0 1.5rem;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
.addon {
|
.addon {
|
||||||
|
|
@ -278,6 +301,8 @@
|
||||||
@media only screen and (max-width: @minimum) {
|
@media only screen and (max-width: @minimum) {
|
||||||
.addons-container {
|
.addons-container {
|
||||||
.addons-content {
|
.addons-content {
|
||||||
|
--bottom-vertical-nav-bar-size: var(--vertical-nav-bar-size);
|
||||||
|
|
||||||
.selectable-inputs-container {
|
.selectable-inputs-container {
|
||||||
.add-button-container {
|
.add-button-container {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
.board-content {
|
.board-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
|
@ -38,6 +37,7 @@
|
||||||
.board-warning-container {
|
.board-warning-container {
|
||||||
flex: none;
|
flex: none;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
margin-bottom: var(--calculated-bottom-safe-inset, 0px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -191,15 +191,7 @@
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
||||||
.board-content-container {
|
.board-content-container {
|
||||||
&:only-child {
|
|
||||||
.board-content {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.board-content {
|
.board-content {
|
||||||
height: calc(100% - 4rem);
|
|
||||||
|
|
||||||
.board-row {
|
.board-row {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
@ -226,8 +218,9 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: var(--vertical-nav-bar-size);
|
bottom: calc(var(--vertical-nav-bar-size) + var(--calculated-bottom-safe-inset, 0px));
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -17,13 +17,20 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.discover-container {
|
.discover-container {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
.discover-content {
|
.discover-content {
|
||||||
|
--selectable-inputs-assumed-height: 84px;
|
||||||
|
--top-overlay-size: var(--selectable-inputs-assumed-height);
|
||||||
|
--bottom-vertical-nav-bar-size: 0px;
|
||||||
|
--bottom-overlay-size: calc(var(--bottom-vertical-nav-bar-size) + env(safe-area-inset-bottom, 0px));
|
||||||
|
--overlap-size: 3rem;
|
||||||
|
--transparency-grandient-pad: 6rem;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: calc(100% + var(--bottom-overlay-size));
|
||||||
|
margin-bottom: calc(var(--bottom-overlay-size) * -1);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
|
|
@ -33,6 +40,21 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
.meta-items-container {
|
||||||
|
margin-top: calc(var(--selectable-inputs-assumed-height) * -1);
|
||||||
|
padding: 0 1.5rem;
|
||||||
|
padding-top: var(--selectable-inputs-assumed-height);
|
||||||
|
padding-bottom: var(--bottom-overlay-size, 0px);
|
||||||
|
|
||||||
|
mask: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent calc(var(--top-overlay-size) - var(--overlap-size)),
|
||||||
|
black calc(var(--top-overlay-size) + var(--transparency-grandient-pad)),
|
||||||
|
black 100%
|
||||||
|
);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.selectable-inputs-container {
|
.selectable-inputs-container {
|
||||||
flex: none;
|
flex: none;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
@ -40,6 +62,7 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
.select-input {
|
.select-input {
|
||||||
flex: 0 1 15rem;
|
flex: 0 1 15rem;
|
||||||
|
|
@ -162,7 +185,6 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
grid-gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
margin-right: 1.5rem;
|
margin-right: 1.5rem;
|
||||||
padding: 0 1.5rem;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
.meta-item-placeholder {
|
.meta-item-placeholder {
|
||||||
|
|
@ -348,6 +370,8 @@
|
||||||
@media only screen and (max-width: @minimum) {
|
@media only screen and (max-width: @minimum) {
|
||||||
.discover-container {
|
.discover-container {
|
||||||
.discover-content {
|
.discover-content {
|
||||||
|
--bottom-vertical-nav-bar-size: var(--vertical-nav-bar-size);
|
||||||
|
|
||||||
.catalog-container {
|
.catalog-container {
|
||||||
.selectable-inputs-container {
|
.selectable-inputs-container {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
||||||
|
|
@ -13,16 +13,38 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.library-container {
|
.library-container {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
.library-content {
|
.library-content {
|
||||||
|
--selectable-inputs-assumed-height: 80px;
|
||||||
|
--top-overlay-size: var(--selectable-inputs-assumed-height);
|
||||||
|
--bottom-vertical-nav-bar-size: 0px;
|
||||||
|
--bottom-overlay-size: calc(var(--bottom-vertical-nav-bar-size) + env(safe-area-inset-bottom, 0px));
|
||||||
|
--overlap-size: 3rem;
|
||||||
|
--transparency-grandient-pad: 6rem;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: calc(100% + var(--bottom-overlay-size));
|
||||||
|
margin-bottom: calc(var(--bottom-overlay-size) * -1);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
.meta-items-container {
|
||||||
|
margin-top: calc(var(--selectable-inputs-assumed-height) * -1);
|
||||||
|
padding: 0 1.5rem;
|
||||||
|
padding-top: var(--selectable-inputs-assumed-height);
|
||||||
|
padding-bottom: var(--bottom-overlay-size, 0px);
|
||||||
|
|
||||||
|
mask: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent calc(var(--top-overlay-size) - var(--overlap-size)),
|
||||||
|
black calc(var(--top-overlay-size) + var(--transparency-grandient-pad)),
|
||||||
|
black 100%
|
||||||
|
);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.selectable-inputs-container {
|
.selectable-inputs-container {
|
||||||
flex: none;
|
flex: none;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
@ -30,6 +52,7 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
.select-input-container {
|
.select-input-container {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
|
@ -119,7 +142,6 @@
|
||||||
grid-auto-rows: max-content;
|
grid-auto-rows: max-content;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
grid-gap: 0.5rem;
|
grid-gap: 0.5rem;
|
||||||
padding: 0 1.5rem;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -216,6 +238,8 @@
|
||||||
@media only screen and (max-width: @minimum) {
|
@media only screen and (max-width: @minimum) {
|
||||||
.library-container {
|
.library-container {
|
||||||
.library-content {
|
.library-content {
|
||||||
|
--bottom-vertical-nav-bar-size: var(--vertical-nav-bar-size);
|
||||||
|
|
||||||
.selectable-inputs-container {
|
.selectable-inputs-container {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,9 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
padding-left: env(safe-area-inset-left, 0px);
|
||||||
|
padding-right: env(safe-area-inset-right, 0px);
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
.nav-bar {
|
.nav-bar {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
@ -91,6 +94,8 @@
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
padding: 0 4rem 2rem 4rem;
|
padding: 0 4rem 2rem 4rem;
|
||||||
|
|
||||||
|
padding-left: max(1rem, calc(4rem - env(safe-area-inset-left, 0px)));
|
||||||
}
|
}
|
||||||
|
|
||||||
.spacing {
|
.spacing {
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-container {
|
.settings-container {
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
.settings-content {
|
.settings-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue