Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 1bb92d7

Browse files
Fix missing message margin regression
I'm not sure when or where this came from, but it's probably worth fixing before merging this branch into `master`. This resolves the issue by moving the message header margins into the base theme and adding a margin to the `<section>` tag.
1 parent 97db5e9 commit 1bb92d7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

styles/base/message.mcss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Message {
1010
padding: 0 2px
1111
}
1212
header {
13+
margin: 15px 20px 0
1314
font-size: 120%
1415
display: flex
1516
div.mini {
@@ -260,6 +261,7 @@ Message {
260261
}
261262
}
262263
section {
264+
margin: 0 15px
263265
font-size: 90%
264266
font-style: italic
265267
color: #777

styles/dark/message.mcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Message {
55
color: #674e00
66
}
77
header {
8-
margin: 20px 20px 0
98
div.main {
109
div.main {
1110
div.name {

styles/light/message.mcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Message {
55
color: white
66
}
77
header {
8-
margin: 15px 20px 0
98
div.main {
109
div.main {
1110
div.name {

0 commit comments

Comments
 (0)