Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes the styling for icons on SC.LabelView.

- the previous style caused the entire label to be position relative with middle vertical-align when an icon was included.  Those styles should only apply to the img.
  • Loading branch information...
commit 4b91919b701c82d2b700ca8fc239feeac8e7774e 1 parent e55483a
@publickeating publickeating authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 frameworks/foundation/resources/label.css
View
16 frameworks/foundation/resources/label.css
@@ -3,12 +3,12 @@
.sc-label-view {
text-align: left;
white-space: pre-line; /* Allow strings to include '\n' characters, etc., like many other UI frameworks */
-
- &.icon {
+
+ &.icon img {
position: relative;
vertical-align: middle;
}
-
+
&.sc-hint {
position: absolute;
top: 3px;
@@ -19,24 +19,24 @@
color: #aaa ;
font-size: 12px;
}
-
+
&.disabled {
color: #999;
color: rgba(50,50,50,0.5);
}
-
+
&.sc-large-size {
font-size: 18px;
}
-
+
&.sc-regular-size {
font-size: 12px;
}
-
+
&.sc-small-size {
font-size: 11px;
}
-
+
&.sc-tiny-size {
font-size: 9px;
}
Please sign in to comment.
Something went wrong with that request. Please try again.