Browse Source

limit width of embedded <video> elements

Andrew Dolgov 4 years ago
parent
commit
d517829bcd
2 changed files with 4 additions and 2 deletions
  1. 2 1
      css/cdm.css
  2. 2 1
      css/tt-rss.css

+ 2 - 1
css/cdm.css

@@ -56,7 +56,8 @@ div.cdmContentInner {
 	font-size : 15px;
 }
 
-div.cdmContentInner img {
+div.cdmContentInner img,
+div.cdmContentInner video {
 	border-width : 0px;
 	max-width : 98%;
 	height : auto;

+ 2 - 1
css/tt-rss.css

@@ -44,7 +44,8 @@ div.postReply div.postContent {
 	padding : 10px;
 }
 
-div.postReply div.postContent img {
+div.postReply div.postContent img,
+div.postReply div.postContent video {
 	border-width : 0px;
 	max-width : 98%;
 	height: auto;