diff --git a/css/styles.css b/css/styles.css index cae4e0e..b9adaec 100644 --- a/css/styles.css +++ b/css/styles.css @@ -231,8 +231,6 @@ button.nav > img.icon { flex-direction: column-reverse; } .event { - display: flex; - flex-direction: row; padding: 15px; transition: background-color 0.2s linear; } @@ -328,7 +326,12 @@ button.nav > img.icon { border-top: 1px solid var(--clrBorder); } -.timestamp, .replying-to, .shared-by { +.shared-by { + font-size: var(--fsReduced); + color: var(--clrTextLight); + margin-bottom: 15px; +} +.timestamp, .replying-to { font-size: var(--fsSmall); color: var(--clrTextLight); } @@ -586,6 +589,7 @@ code { } .event.dm { padding-bottom: 0; + display: flex; } .event.dm:hover { background: transparent; diff --git a/css/utils.css b/css/utils.css index df48f1f..17fda1d 100644 --- a/css/utils.css +++ b/css/utils.css @@ -1,3 +1,6 @@ +.flex { + display: flex; +} .flex-fill { flex: auto; } @@ -80,9 +83,6 @@ img.icon.small { border-radius: 12px; color: var(--clrTextEvMsg); } -.flex { - display: flex; -} /* Icon */ diff --git a/js/ui/render.js b/js/ui/render.js index 6ce77e2..bfa39c9 100644 --- a/js/ui/render.js +++ b/js/ui/render.js @@ -67,6 +67,8 @@ function render_event(model, ev, opts={}) { if (!opts.is_composing) classes += " bottom-border"; return html`
${format_content(model, ev, show_media)}
`;