[frontend] small fixes (#907)

* add missing watchify dependency

* replace svg rss icon with forkawesome+styling

* use $white1 instead of hardcoding white

* fix toot overflow
This commit is contained in:
f0x52
2022-10-12 18:23:50 +02:00
committed by GitHub
parent eb85ef7325
commit 80c2833d83
5 changed files with 12 additions and 22 deletions

View File

@@ -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;
}
}

View File

@@ -133,6 +133,8 @@ main {
position: relative;
z-index: 2;
width: 100%;
a {
color: $link-fg;
text-decoration: underline;

View File

@@ -47,6 +47,7 @@
"redux-thunk": "^2.4.1",
"tiny-lr": "^2.0.0",
"uglifyify": "^5.0.2",
"watchify": "^4.0.0",
"wouter": "^2.8.0-alpha.2"
},
"devDependencies": {