Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r12917: LJSUP-14077: Clean big size parameters f...

Committer: esavintcev
LJSUP-14077: Clean big size parameters for image in lj-cut
U   trunk/htdocs/stc/sup/s/style.css
Modified: trunk/htdocs/stc/sup/s/style.css
===================================================================
--- trunk/htdocs/stc/sup/s/style.css	2012-11-19 13:49:28 UTC (rev 12916)
+++ trunk/htdocs/stc/sup/s/style.css	2012-11-19 15:16:42 UTC (rev 12917)
@@ -406,10 +406,14 @@
 	.entry-text SUB {
 		top:.5ex;
 		}
-		.entry-text .entry-content IMG:not([width]):not([height]):not([style*="height"]) {
+		.entry-text .entry-content IMG:not(.i-ljpoll-results-bar) {
+			width: auto !important;
+			height: auto !important;
 			max-width: 100%;
-			height: auto;
 			}
+		.entry-text .entry-content .b-mediaplaceholder {
+			max-width: 100%;
+			}
 	/* tables */
 	.entry-content TABLE CAPTION {
 		font-size:1.6em;

Tags: css, esavintcev, ljcom, savintsev_egor
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments