aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-03 01:03:11 +0100
committer0neGal <mail@0negal.com>2022-01-03 01:03:11 +0100
commitc356beee2be1840aa257cb335272026d846f02d1 (patch)
tree7fd907173dfff4cdcef72d8beecb22f57f422dbb /src/app
parenta210128d806bb1479c25198fa2399df99ee92bd0 (diff)
downloadViper-c356beee2be1840aa257cb335272026d846f02d1.tar.gz
Viper-c356beee2be1840aa257cb335272026d846f02d1.zip
mod view now has a constant size
Along with the ability to scroll it!
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/app/main.css b/src/app/main.css
index 60a05c6..56f17b2 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -26,6 +26,8 @@
src: url("roboto.ttf");
}
+::-webkit-scrollbar {display: none}
+
body, button, input {
font-size: 18px;
font-weight: 700;
@@ -52,6 +54,8 @@ nobr {white-space: nowrap}
#modsdiv {
padding: 1px;
+ height: 125px;
+ overflow-y: scroll;
border-radius: var(--padding);
background: var(--boxbackground);
margin: calc(var(--padding) / 3) var(--padding);
@@ -66,8 +70,8 @@ nobr {white-space: nowrap}
.mod .disabled {
color: var(--red);
- position: absolute;
- right: calc(var(--padding) * 2.5);
+ position: relative;
+ left: var(--padding);
}
.buttons {