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

[ljcom] r12940: 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-23 12:23:57 UTC (rev 12939)
+++ trunk/htdocs/stc/sup/s/style.css	2012-11-23 13:24:58 UTC (rev 12940)
@@ -406,7 +406,8 @@
 	.entry-text SUB {
 		top:.5ex;
 		}
-		.entry-text .entry-content IMG:not(.i-ljpoll-results-bar) {
+		.view-recent .entry-text .entry-content IMG:not(.i-ljpoll-results-bar),
+		.view-friends .entry-text .entry-content IMG:not(.i-ljpoll-results-bar) {
 			width: auto !important;
 			height: auto !important;
 			max-width: 100%;
@@ -686,8 +687,9 @@
 		margin-left:1px;
 		}
 		.comment-text IMG:not([width]):not([height]) {
+			width: auto !important;
+			height: auto !important;
 			max-width: 100%;
-			height: auto;
 			}
 		.comment-text SMALL {
 			font-size: smaller;
@@ -845,4 +847,10 @@
 	.mobile-msg #page {
 		min-width: 0;
 		}
+	.view-entry .entry-text .entry-content IMG:not(.i-ljpoll-results-bar),
+	.view-reply .entry-text .entry-content IMG:not(.i-ljpoll-results-bar) {
+		width: auto !important;
+		height: auto !important;
+		max-width: 100%;
+		}
 }

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