summaryrefslogtreecommitdiff
path: root/themes/light
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-05-09 12:49:19 +0300
committerAndrew Dolgov <[email protected]>2020-05-09 12:49:19 +0300
commit2b55afbeec840beb127bb9b836cd957d9e246042 (patch)
treeb4852bc51abf7cd7ad9290bb352e995579712fa2 /themes/light
parenta802649d5397da0bdeaceddf3a9a38093053bcba (diff)
sanitize: forbid "allow" attribute
CSS: remove auto hyphens stuff, remove iframe width clipping to 98% because they get squished
Diffstat (limited to 'themes/light')
-rw-r--r--themes/light/cdm.less12
-rw-r--r--themes/light/tt-rss.less9
-rw-r--r--themes/light/zoom.less6
3 files changed, 0 insertions, 27 deletions
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;