summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-10 14:47:54 +0100
committerVolpeon <git@volpeon.ink>2021-03-10 14:47:54 +0100
commit35043c29f6012cd1e34bac616091a14f3ee70360 (patch)
treee7b05cfeed27987395f3b6bd15be39d1ad61377e
parentAdd horizontal padding to date/unread marker (diff)
downloadthelounge-theme-vulpes-35043c29f6012cd1e34bac616091a14f3ee70360.tar.gz
thelounge-theme-vulpes-35043c29f6012cd1e34bac616091a14f3ee70360.tar.bz2
thelounge-theme-vulpes-35043c29f6012cd1e34bac616091a14f3ee70360.zip
Enable horizontal scrolling for MOTD
-rw-r--r--theme.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme.css b/theme.css
index fafcff2..f448ed2 100644
--- a/theme.css
+++ b/theme.css
@@ -625,7 +625,6 @@ textarea.input {
625 625
626#chat .content { 626#chat .content {
627 grid-area: content; 627 grid-area: content;
628 overflow: visible;
629 border-left: 0; 628 border-left: 0;
630 color: var(--color--msg--action-fg); 629 color: var(--color--msg--action-fg);
631} 630}
@@ -698,6 +697,10 @@ textarea.input {
698 grid-template-areas: "time user" "content content"; 697 grid-template-areas: "time user" "content content";
699} 698}
700 699
700#chat .msg[data-type="monospace_block"] .content {
701 overflow-x: auto;
702}
703
701#chat .msg[data-type="monospace_block"] .text { 704#chat .msg[data-type="monospace_block"] .text {
702 margin-top: calc(var(--dim--spacing) * .5); 705 margin-top: calc(var(--dim--spacing) * .5);
703 padding: var(--dim--msg--pad-v) var(--dim--msg--pad-h); 706 padding: var(--dim--msg--pad-v) var(--dim--msg--pad-h);
@@ -706,6 +709,7 @@ textarea.input {
706 color: var(--color--msg--fg); 709 color: var(--color--msg--fg);
707 font-family: monospace; 710 font-family: monospace;
708 font-size: 15px; 711 font-size: 15px;
712 white-space: pre;
709} 713}
710 714
711#chat .msg[data-type="notice"] .content, 715#chat .msg[data-type="notice"] .content,