]> Untitled Git - lemmy.git/commitdiff
Some front end fixes.
authorDessalines <tyhou13@gmx.com>
Sat, 1 Aug 2020 23:14:54 +0000 (19:14 -0400)
committerDessalines <tyhou13@gmx.com>
Sat, 1 Aug 2020 23:14:54 +0000 (19:14 -0400)
docs/src/contributing_local_development.md
ui/assets/css/main.css
ui/src/components/post-listing.tsx

index 9bdeff9ada7f0a73134f2fc36b725b3b1eef53d1..b95c308da2c2d67816ed234e0bdf31ae77eccc4c 100644 (file)
@@ -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
index e6e6bed276be24682e235718fcc4b787365df479..d7e730d373bfb6f372dd7a311001d9ca2867b300 100644 (file)
   line-height: 1.0;
 }
 
+.post-title a:visited {
+  color: var(--gray) !important;
+}
+
 .icon {
   display: inline-flex;
   width: 1em;
index 4271d3c169116001d9e09897b83366b77800ab0b..a909c70203a80614a4a7bf5f1c8b7fbe45be8532 100644 (file)
@@ -315,7 +315,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
                 <h5 className="mb-1 d-inline-block">
                   {this.props.showBody && post.url ? (
                     <a
-                      className="text-body"
+                      className={!post.stickied ? 'text-body' : 'text-primary'}
                       href={post.url}
                       target="_blank"
                       title={post.url}
@@ -325,7 +325,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
                     </a>
                   ) : (
                     <Link
-                      className="text-body"
+                      className={!post.stickied ? 'text-body' : 'text-primary'}
                       to={`/post/${post.id}`}
                       title={i18n.t('comments')}
                     >
@@ -419,7 +419,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
                     className="unselectable pointer ml-2 text-muted font-italic"
                     data-tippy-content={i18n.t('stickied')}
                   >
-                    <svg class={`icon icon-inline text-success`}>
+                    <svg class={`icon icon-inline text-primary`}>
                       <use xlinkHref="#icon-pin"></use>
                     </svg>
                   </small>