Browse Source

ttrss_zoom: limit maximum width to make text more readable

Andrew Dolgov 1 year ago
parent
commit
355723ca59
8 changed files with 14 additions and 11 deletions
  1. 5 2
      css/default.css
  2. 1 1
      css/default.css.map
  3. 1 2
      css/utility.less
  4. 3 0
      css/zoom.less
  5. 1 2
      themes/night.css
  6. 1 1
      themes/night.css.map
  7. 1 2
      themes/night_blue.css
  8. 1 1
      themes/night_blue.css.map

+ 5 - 2
css/default.css

@@ -1650,8 +1650,7 @@ body.ttrss_utility.ttrss_login .container .content {
   padding: 40px;
 }
 body.ttrss_utility.installer,
-body.ttrss_utility.feed_debugger,
-body.ttrss_utility.ttrss_zoom {
+body.ttrss_utility.feed_debugger {
   margin: 2em;
 }
 body.ttrss_utility.share_popup {
@@ -1820,6 +1819,10 @@ body.ttrss_utility.share_popup .content {
 .flat .dijitCheckBox {
   background: #ccc;
 }
+body.ttrss_zoom {
+  max-width: 900px;
+  margin: 2em auto;
+}
 body.ttrss_zoom div.post {
   border: 1px solid #ddd;
   background: white;

File diff suppressed because it is too large
+ 1 - 1
css/default.css.map


+ 1 - 2
css/utility.less

@@ -99,8 +99,7 @@ body.ttrss_utility.ttrss_login {
 }
 
 body.ttrss_utility.installer,
-body.ttrss_utility.feed_debugger,
-body.ttrss_utility.ttrss_zoom {
+body.ttrss_utility.feed_debugger {
 	margin : 2em;
 }
 

+ 3 - 0
css/zoom.less

@@ -1,4 +1,7 @@
 body.ttrss_zoom {
+	max-width : 900px;
+	margin : 2em auto;
+
 	div.post {
 		border : 1px solid #ddd;
 		background : white;

+ 1 - 2
themes/night.css

@@ -1651,8 +1651,7 @@ body.ttrss_utility.ttrss_login .container .content {
   padding: 40px;
 }
 body.ttrss_utility.installer,
-body.ttrss_utility.feed_debugger,
-body.ttrss_utility.ttrss_zoom {
+body.ttrss_utility.feed_debugger {
   margin: 2em;
 }
 body.ttrss_utility.share_popup {

File diff suppressed because it is too large
+ 1 - 1
themes/night.css.map


+ 1 - 2
themes/night_blue.css

@@ -1651,8 +1651,7 @@ body.ttrss_utility.ttrss_login .container .content {
   padding: 40px;
 }
 body.ttrss_utility.installer,
-body.ttrss_utility.feed_debugger,
-body.ttrss_utility.ttrss_zoom {
+body.ttrss_utility.feed_debugger {
   margin: 2em;
 }
 body.ttrss_utility.share_popup {

File diff suppressed because it is too large
+ 1 - 1
themes/night_blue.css.map