diff options
author | Jan C. Borchardt <hey@jancborchardt.net> | 2020-10-15 16:17:31 +0200 |
---|---|---|
committer | Jan C. Borchardt <hey@jancborchardt.net> | 2020-10-15 16:17:31 +0200 |
commit | 30d2b83a6c2841e3bdb3bbe3b6eb3e820ba00d1b (patch) | |
tree | 317299c114ccb39e16bcc0dfcf00c50cd0729151 | |
parent | e86ed8117b9ffee83c40936bd98823ad90294698 (diff) |
Correct SCSS indent syntax and order
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
-rw-r--r-- | src/components/TimelinePost.vue | 124 |
1 files changed, 61 insertions, 63 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue index dfff0bad..6e09eaf0 100644 --- a/src/components/TimelinePost.vue +++ b/src/components/TimelinePost.vue @@ -200,81 +200,79 @@ export default { </script> <style scoped lang="scss"> -.post-author { - font-weight: bold; -} +.entry-content { + display: flex; -.post-author-id { - opacity: .7; -} + .post-avatar { + margin: 5px; + margin-right: 10px; + border-radius: 50%; + overflow: hidden; + width: 32px; + height: 32px; + min-width: 32px; + flex-shrink: 0; + } -.post-avatar { - margin: 5px; - margin-right: 10px; - border-radius: 50%; - overflow: hidden; - width: 32px; - height: 32px; - min-width: 32px; - flex-shrink: 0; -} + .post-content { + flex-grow: 1; -.post-timestamp { - width: 120px; - text-align: right; - flex-shrink: 0; -} + .post-header { + display: flex; + flex-direction: row; + justify-content: space-between; -.post-actions { - margin-left: -13px; - height: 44px; + .post-author { + font-weight: bold; + } - .post-actions-more { - position: relative; - width: 44px; - height: 34px; - display: inline-block; - } - .icon-reply, - .icon-boost, - .icon-boosted, - .icon-starred, - .icon-favorite, - .icon-more { - display: inline-block; - width: 44px; - height: 34px; - opacity: .5; - &:hover, &:focus { - opacity: 1; + .post-author-id { + opacity: .7; + } + + .post-timestamp { + width: 120px; + text-align: right; + flex-shrink: 0; + } } - } - .icon-boosted { - opacity: 1; - } -} -span { - /* opacity: 0.5; */ -} -.entry-content { - display: flex; -} + .post-actions { + margin-left: -13px; + height: 44px; -.post-content { - flex-grow: 1; -} + .post-actions-more { + position: relative; + width: 44px; + height: 34px; + display: inline-block; + } -.post-header { - display: flex; - flex-direction: row; - justify-content: space-between; -} + .icon-reply, + .icon-boost, + .icon-boosted, + .icon-starred, + .icon-favorite, + .icon-more { + display: inline-block; + width: 44px; + height: 34px; + opacity: .5; -.post-timestamp { - opacity: .7; + &:hover, + &:focus { + opacity: 1; + } + } + + .icon-boosted { + opacity: 1; + } + } + } } </style> + <style> .post-message a { text-decoration: underline; |