diff options
| author | Bobby <[email protected]> | 2023-05-12 20:03:05 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-05-12 20:03:05 -0400 |
| commit | eaef978dc6bc95cb7302990d5451fe5b0101d2ef (patch) | |
| tree | f13fc4c0a0d622616cd56742de2904c3fc4b46a6 | |
| parent | 72cb0effcaf9e6caaaa09627a0741fa3b6c05212 (diff) | |
| download | thatcomputerscientist-eaef978dc6bc95cb7302990d5451fe5b0101d2ef.tar.xz thatcomputerscientist-eaef978dc6bc95cb7302990d5451fe5b0101d2ef.zip | |
Hide scrollbar for chat messages
| -rw-r--r-- | static/css/home.css | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/static/css/home.css b/static/css/home.css index 82cad039..156fb323 100644 --- a/static/css/home.css +++ b/static/css/home.css @@ -11,7 +11,7 @@ border-radius: 8px; } -#welcome > p { +#welcome>p { width: 375px; margin: 12px 0px 12px 50px; position: relative; @@ -32,6 +32,19 @@ position: relative; } +/* Hide scrollbar for Chrome, Safari and Opera */ +#messages::-webkit-scrollbar { + display: none; +} + +/* Hide scrollbar for IE, Edge and Firefox */ +#messages { + -ms-overflow-style: none; + /* IE and Edge */ + scrollbar-width: none; + /* Firefox */ +} + .message { text-align: left; } @@ -77,13 +90,15 @@ marquee { marquee::after { position: absolute; - top: -4px; bottom: -4px; - left: -4px; right: -4px; + top: -4px; + bottom: -4px; + left: -4px; + right: -4px; content: ''; z-index: -1; border-radius: 16px; } -marquee > ul { +marquee>ul { text-align: justify; -} +}
\ No newline at end of file |
