Commit 55f7183f authored by JC Brand's avatar JC Brand

Keep horizontal padding on a per message level

parent b2553a44
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
.chat-content { .chat-content {
display: flex; display: flex;
flex-direction: column-reverse; flex-direction: column-reverse;
padding: 1em; padding: 1em 0;
height: 100%; height: 100%;
font-size: var(--message-font-size); font-size: var(--message-font-size);
color: var(--text-color); color: var(--text-color);
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
color: var(--separator-text-color); color: var(--separator-text-color);
display: inline-block; display: inline-block;
line-height: 2em; line-height: 2em;
padding: 0 1em;
position: relative; position: relative;
z-index: 5; z-index: 5;
} }
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
font-size: var(--message-font-size); font-size: var(--message-font-size);
line-height: var(--line-height-small); line-height: var(--line-height-small);
font-size: 90%; font-size: 90%;
padding: 0.17rem 0; padding: 0.17rem 1rem;
&.badge { &.badge {
color: var(--chat-head-text-color); color: var(--chat-head-text-color);
...@@ -79,7 +80,7 @@ ...@@ -79,7 +80,7 @@
display: flex; display: flex;
width: 100%; width: 100%;
flex-direction: row; flex-direction: row;
padding: 0.125rem 0; padding: 0.125rem 1rem;
&.onload { &.onload {
animation: colorchange-chatmessage 1s; animation: colorchange-chatmessage 1s;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment