From 2b55afbeec840beb127bb9b836cd957d9e246042 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 9 May 2020 12:49:19 +0300 Subject: sanitize: forbid "allow" attribute CSS: remove auto hyphens stuff, remove iframe width clipping to 98% because they get squished --- themes/light/cdm.less | 12 ------------ themes/light/tt-rss.less | 9 --------- themes/light/zoom.less | 6 ------ 3 files changed, 27 deletions(-) (limited to 'themes/light') diff --git a/themes/light/cdm.less b/themes/light/cdm.less index 7ac28913e..734c92e7e 100644 --- a/themes/light/cdm.less +++ b/themes/light/cdm.less @@ -185,18 +185,6 @@ div.cdm.vgrlf .feed { font-size: 11px; } - div.content-inner p { - /*max-width : 650px;*/ - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - } - - div.content-inner iframe { - min-width : 50%; - max-width : 98%; - } - div.header span.author { white-space : nowrap; color : @default-text; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index c971b472d..0234f97b7 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -65,15 +65,6 @@ body.ttrss_main { max-width : 98%; height: auto; } - - p { - hyphens: auto; - } - - iframe { - min-width : 50%; - max-width : 98%; - } } } diff --git a/themes/light/zoom.less b/themes/light/zoom.less index ae8de7dba..e06939ac2 100644 --- a/themes/light/zoom.less +++ b/themes/light/zoom.less @@ -28,12 +28,6 @@ body.ttrss_zoom { } } - p { - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - } - div.content { font-size : 15px; line-height : 1.5; -- cgit v1.2.3-54-g00ecf