pre: set white-space: pre-wrap to remove horizontal scrolling

This commit is contained in:
Andrew Dolgov 2021-01-13 13:38:51 +03:00
parent f67f0f864b
commit 6311fb607d
7 changed files with 12 additions and 0 deletions

View File

@ -343,6 +343,7 @@ body.ttrss_main .dijitContentPane pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.ttrss_main div.prefHelp {
color: #555;
@ -1880,6 +1881,7 @@ body.ttrss_zoom div.post div.content pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
/* rules specific to compact.css */
body.ttrss_main.ttrss_index.flat #feedTree.dijitTree .dijitTreeLabel {

View File

@ -343,6 +343,7 @@ body.ttrss_main .dijitContentPane pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.ttrss_main div.prefHelp {
color: #ccc;
@ -1871,6 +1872,7 @@ body.ttrss_zoom div.post div.content pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.flat.ttrss_main.ttrss_prefs #main,
body.flat.ttrss_main.ttrss_prefs #footer {

View File

@ -343,6 +343,7 @@ body.ttrss_main .dijitContentPane pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.ttrss_main div.prefHelp {
color: #555;
@ -1880,4 +1881,5 @@ body.ttrss_zoom div.post div.content pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}

View File

@ -394,6 +394,7 @@ body.ttrss_main {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
div.prefHelp {

View File

@ -64,6 +64,7 @@ body.ttrss_zoom {
display : block;
max-width : 98%;
overflow : auto;
white-space: pre-wrap;
}
}
}

View File

@ -344,6 +344,7 @@ body.ttrss_main .dijitContentPane pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.ttrss_main div.prefHelp {
color: #ccc;
@ -1872,6 +1873,7 @@ body.ttrss_zoom div.post div.content pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.flat.ttrss_main.ttrss_prefs #main,
body.flat.ttrss_main.ttrss_prefs #footer {

View File

@ -344,6 +344,7 @@ body.ttrss_main .dijitContentPane pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.ttrss_main div.prefHelp {
color: #ccc;
@ -1872,6 +1873,7 @@ body.ttrss_zoom div.post div.content pre {
display: block;
max-width: 98%;
overflow: auto;
white-space: pre-wrap;
}
body.flat.ttrss_main.ttrss_prefs #main,
body.flat.ttrss_main.ttrss_prefs #footer {