aboutsummaryrefslogtreecommitdiffstats
path: root/styles
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2021-10-02 18:59:08 +0200
committerGravatar piotrruss <mail@pruss.it> 2021-10-02 18:59:08 +0200
commit49652bec567ddb75fb6041c2a34ddb37e9694f08 (patch)
tree0a3e35d9a0788787934d1b124a620bf5246e81bf /styles
parent79bdb88a5fc099b5871a83d18eadf9b0448b41d1 (diff)
downloadmy_apps-49652bec567ddb75fb6041c2a34ddb37e9694f08.tar.gz
my_apps-49652bec567ddb75fb6041c2a34ddb37e9694f08.tar.bz2
my_apps-49652bec567ddb75fb6041c2a34ddb37e9694f08.zip
small styling fixes
Diffstat (limited to 'styles')
-rw-r--r--styles/global/_window.scss21
1 files changed, 18 insertions, 3 deletions
diff --git a/styles/global/_window.scss b/styles/global/_window.scss
index 7b1c07b..d05ff7c 100644
--- a/styles/global/_window.scss
+++ b/styles/global/_window.scss
@@ -21,6 +21,7 @@
transform: translate(-50%, -50%);
max-width: 21rem;
margin: 0 auto;
+ line-height: 1.25;
&:not(.window--popup-with-title) {
border-top-left-radius: .5em;
@@ -47,6 +48,10 @@
border-top: 1px solid var(--color-window-border-top);
border-top-left-radius: .5em;
border-top-right-radius: .5em;
+
+ @media(max-width: 40em) {
+ display: none;
+ }
}
&--popup > .window__title {
@@ -90,6 +95,14 @@
right: 0;
bottom: 0;
left: 0;
+
+ & > div:nth-of-type(2) {
+ top: 5em;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ position: fixed;
+ }
}
&.window__content {
@@ -142,7 +155,7 @@
@media(max-width: 40em) {
height: 3em;
- overflow: auto;
+ overflow-x: scroll;
& > div {
display: flex;
@@ -155,8 +168,10 @@
}
&__scroll {
- height: calc(100% - 2em);
- overflow: auto;
+ height: 100%;
+ overflow-y: scroll;
+ overflow-x: hidden;
+ -webkit-overflow-scrolling: touch;
}
&__buttons--popup {