From 7938e8f5c8955337564ea819a002c567b77193d8 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 1 Aug 2020 19:14:54 -0400 Subject: [PATCH] Some front end fixes. --- docs/src/contributing_local_development.md | 2 +- ui/assets/css/main.css | 4 ++++ ui/src/components/post-listing.tsx | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/src/contributing_local_development.md b/docs/src/contributing_local_development.md index 9bdeff9a..b95c308d 100644 --- a/docs/src/contributing_local_development.md +++ b/docs/src/contributing_local_development.md @@ -1,7 +1,7 @@ ### Install build requirements #### Ubuntu ``` -sudo apt install git cargo libssl-dev pkg-config libpq-dev yarn curl gnupg2 +sudo apt install git cargo libssl-dev pkg-config libpq-dev yarn curl gnupg2 espeak # install yarn curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index e6e6bed2..d7e730d3 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -87,6 +87,10 @@ line-height: 1.0; } +.post-title a:visited { + color: var(--gray) !important; +} + .icon { display: inline-flex; width: 1em; diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 4271d3c1..a909c702 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -315,7 +315,7 @@ export class PostListing extends Component {
{this.props.showBody && post.url ? ( { ) : ( @@ -419,7 +419,7 @@ export class PostListing extends Component { className="unselectable pointer ml-2 text-muted font-italic" data-tippy-content={i18n.t('stickied')} > - + -- 2.44.1