From 80c2833d83aa601ddf725d6830e33ec3da74d922 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Wed, 12 Oct 2022 18:23:50 +0200 Subject: [frontend] small fixes (#907) * add missing watchify dependency * replace svg rss icon with forkawesome+styling * use $white1 instead of hardcoding white * fix toot overflow --- web/source/css/profile.css | 9 ++++++--- web/source/css/status.css | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'web/source/css') diff --git a/web/source/css/profile.css b/web/source/css/profile.css index 03f65d1d5..e4763f303 100644 --- a/web/source/css/profile.css +++ b/web/source/css/profile.css @@ -225,10 +225,13 @@ main { align-items: center; justify-content: space-between; margin: 1rem; - .rsslogo { - width: 1.45em; - height: 1.45em; + .rss-icon { + font-size: 1.45em; object-fit: contain; vertical-align: middle; + color: $orange2; + /* can't size a single-color background, so we use a linear-gradient that's effectively white */ + background: linear-gradient(to right, $white1 100%, transparent 0) no-repeat center center; + background-size: 1.2rem 1.4rem; } } diff --git a/web/source/css/status.css b/web/source/css/status.css index 3e20c7e87..ff5cc2836 100644 --- a/web/source/css/status.css +++ b/web/source/css/status.css @@ -133,6 +133,8 @@ main { position: relative; z-index: 2; + width: 100%; + a { color: $link-fg; text-decoration: underline; -- cgit v1.2.3