Merge pull request #5422 from SansPseudoFix/fix-code-overflow-spv-and-profile
Fix code overflow spv and profile
This commit is contained in:
commit
7c775208b1
3 changed files with 14 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ This is disabled by default since it requires the installation of additional pac
|
|||
* Improve handling of the `more` link on mobile stream pages [#5400](https://github.com/diaspora/diaspora/pull/5400)
|
||||
* Fix prefilling publisher after getting started [#5442](https://github.com/diaspora/diaspora/pull/5442)
|
||||
* Fix overflow in profile sidebar [#5450](https://github.com/diaspora/diaspora/pull/5450)
|
||||
* Fix code overflow in SPV and improve styling for code tags [#5422](https://github.com/diaspora/diaspora/pull/5422)
|
||||
|
||||
## Features
|
||||
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)
|
||||
|
|
|
|||
|
|
@ -74,3 +74,6 @@
|
|||
/* contacts */
|
||||
@import 'contacts';
|
||||
@import 'leftnavbar';
|
||||
|
||||
/* code */
|
||||
@import 'new_styles/code';
|
||||
|
|
|
|||
10
app/assets/stylesheets/new_styles/_code.scss
Normal file
10
app/assets/stylesheets/new_styles/_code.scss
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
code {
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
white-space: pre;
|
||||
code { white-space: pre; }
|
||||
}
|
||||
Loading…
Reference in a new issue