Skip to content

Commit

Permalink
Merge pull request #8387 from denschub/linked-inline-code-color
Browse files Browse the repository at this point in the history
Make inline code inside links show the link color.
  • Loading branch information
SuperTux88 committed Aug 31, 2022
2 parents d18243b + 0ede023 commit 1c064e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ We use yarn to install the frontend dependencies now, so you need to have that i
## Bug fixes
* Fix multiple photos upload progress bar [#7655](https://github.com/diaspora/diaspora/pull/7655)
* Photo-upload file picker now correctly restricts possible file types [#8205](https://github.com/diaspora/diaspora/pull/8205)
* Make inline code inside links show the link color [#8387](https://github.com/diaspora/diaspora/pull/8387)

## Features
* Add client-side cropping of profile image uploads [#7581](https://github.com/diaspora/diaspora/pull/7581)
Expand Down
9 changes: 9 additions & 0 deletions app/assets/stylesheets/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ pre {
white-space: pre;
code { white-space: pre; }
}

// For inline-code inside links, let's force the color to the default link
// color to make them be recognizable as links.
p a {
code,
pre {
color: $link-color;
}
}

0 comments on commit 1c064e0

Please sign in to comment.