Commit 34a9a046aafdc75d2175d111e348bca2c5364fb7
add styling to mini messages
mix irving committed on 12/31/2016, 9:53:10 PMParent: 20ca678297eeb06a01e494ce64b4cca29323879d
Files changed
modules_basic/message-author.mcss | changed |
modules_basic/message.mcss | changed |
modules_basic/message-author.mcss | ||
---|---|---|
@@ -20,13 +20,17 @@ | ||
20 | 20 … | -mini { |
21 | 21 … | flex-direction: row |
22 | 22 … | |
23 | 23 … | section { |
24 … | + margin-right: .5rem | |
25 … | + | |
24 | 26 … | -name { |
25 | - position: absolute | |
26 | - left: inherit | |
27 … | + position: initial | |
28 … | + left: initial | |
27 | 29 … | } |
28 | 30 … | |
29 | - margin-right: .5rem; | |
31 … | + -timestamp { | |
32 … | + | |
33 … | + } | |
30 | 34 … | } |
31 | 35 … | } |
32 | 36 … | } |
modules_basic/message.mcss | |||
---|---|---|---|
@@ -58,22 +58,20 @@ | |||
58 | 58 … | } | |
59 | 59 … | ||
60 | 60 … | ||
61 | 61 … | -mini { | |
62 | - padding-top: .25rem | ||
63 | - padding-bottom: .25rem | ||
62 … | + padding: .25rem 0 | ||
64 | 63 … | min-height: inherit | |
65 | 64 … | ||
66 | - section.content { | ||
67 | - clear: none | ||
68 | - } | ||
69 | - | ||
70 | 65 … | header.author { | |
71 | 66 … | order: 0 | |
67 … | + position: initial | ||
68 … | + left: initial | ||
72 | 69 … | } | |
73 | 70 … | ||
74 | 71 … | section.content { | |
75 | 72 … | order: 1 | |
73 … | + flex-basis: initial | ||
76 | 74 … | flex-grow: 1 | |
77 | 75 … | } | |
78 | 76 … | ||
79 | 77 … | section.meta { |
Built with git-ssb-web