[livejournal] r17592: LJSUP-6062: It's a bad idea to use width...
Committer: skomarov
LJSUP-6062: It's a bad idea to use width for images on page /misc/lastquestion.bmlU trunk/htdocs/stc/widgets/qotdresponses.css
Modified: trunk/htdocs/stc/widgets/qotdresponses.css
===================================================================
--- trunk/htdocs/stc/widgets/qotdresponses.css 2010-10-22 08:09:17 UTC (rev 17591)
+++ trunk/htdocs/stc/widgets/qotdresponses.css 2010-10-22 08:33:07 UTC (rev 17592)
@@ -1,30 +1,30 @@
.lj_qotd_entry_userpic {
- float: left;
- margin-right: 6px;
-}
-
+ float: left;
+ margin-right: 6px;
+ }
+ .lj_qotd_entry_userpic .userpic-img {
+ max-width: 75px;
+ max-height: 75px;
+ }
.lj_qotd_entry_container {
- padding: 8px;
- border-bottom: 1px solid #ccc;
-}
-
+ padding: 8px;
+ border-bottom: 1px solid #ccc;
+ }
.lj_qotd_entry_subject {
- font-weight: bold;
-}
+ font-weight: bold;
+ }
.qotd-container {
- position: relative;
- width: 100%;
- }
-.appwidget-qotd h2 {
- margin: 0 0 4px 0 !important;
- font-size: 1em;
- font-weight: bold;
-}
-
+ position: relative;
+ width: 100%;
+ }
.appwidget-qotd {
- margin: 0 10px 0 10px;
- padding: 8px 10px;
- background-color: #ECF6FF;
- border-bottom: 2px solid #C7E0F6;
-}
-
+ margin: 0 10px 0 10px;
+ padding: 8px 10px;
+ background-color: #ECF6FF;
+ border-bottom: 2px solid #C7E0F6;
+ }
+ .appwidget-qotd H2 {
+ margin: 0 0 4px 0 !important;
+ font-size: 1em;
+ font-weight: bold;
+ }
