From e426bee80fd161ca20edac13a0b51504fae2ae74 Mon Sep 17 00:00:00 2001 From: shpuld Date: Sun, 27 Jan 2019 16:07:00 +0200 Subject: [PATCH] WIP drawfting --- src/components/status/status.vue | 114 ++++++++++++++++--------------- 1 file changed, 58 insertions(+), 56 deletions(-) diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 5c956467..9ba8912d 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -34,22 +34,40 @@
- -
- - - -
- -
- - - - - -
@@ -216,6 +217,23 @@ line-height: 18px; } + .user-name { + white-space: nowrap; + font-size: 14px; + overflow: hidden; + flex-shrink: 0; + max-width: 85%; + font-weight: bold; + margin-right: .2em; + + img { + width: 14px; + height: 14px; + vertical-align: middle; + object-fit: contain + } + } + .media-heading-left { padding: 0; vertical-align: bottom; @@ -224,29 +242,21 @@ small { font-weight: lighter; } - h4 { - white-space: nowrap; - font-size: 14px; - margin-right: 0.25em; - overflow: hidden; - text-overflow: ellipsis; - } + .name-and-links { padding: 0; flex: 1 0; display: flex; - flex-wrap: wrap; align-items: baseline; - .user-name { - margin-right: .45em; + .account-name { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } - img { - width: 14px; - height: 14px; - vertical-align: middle; - object-fit: contain - } + .user-name { + margin-right: .4em; } } @@ -263,6 +273,9 @@ white-space: nowrap; } } + .reply-to-text { + margin-right: 0.5em; + } .reply-info { display: flex; } @@ -399,17 +412,6 @@ align-content: center; flex-wrap: wrap; - .user-name { - font-weight: bold; - - img { - width: 14px; - height: 14px; - vertical-align: middle; - object-fit: contain - } - } - i { padding: 0 0.2em; }