vendor/assets/javascripts/webshims/shims/styles/scss/shim.scss in webshims-rails-1.14.4 vs vendor/assets/javascripts/webshims/shims/styles/scss/shim.scss in webshims-rails-1.14.5
- old
+ new
@@ -406,10 +406,11 @@
display: none;
}
.datalist-polyfill {
position: absolute;
+ text-align: left;
.ws-po-box {
padding: em(5) 0;
}
@@ -435,11 +436,11 @@
color: #000;
}
li {
margin: em(1) 0;
- padding: em(2) em(10);
+ padding: em(4) em(10);
overflow: hidden;
white-space: nowrap;
cursor: default;
zoom: 1;
overflow: hidden;
@@ -453,35 +454,30 @@
font-weight: normal;
font-style: normal;
}
.option-value {
- display: inline-block;
+ display: block;
text-overflow: ellipsis;
max-width: 100%;
color: #000;
- float: left;
transition: color 400ms;
}
.option-label {
display: none;
- max-width: 100%;
- float: right;
+
font-size: 90%;
color: #666;
text-overflow: ellipsis;
- vertical-align: bottom;
- margin-top: 0.15em;
- margin-left: em(10);
- text-align: right;
+ margin-top: 0.1em;
transition: color 400ms;
}
.has-option-label {
.option-label {
- display: inline-block;
+ display: block;
}
}
.hidden-item {
display: none !important;
@@ -495,23 +491,9 @@
color: #fff;
}
.option-label {
color: #eee;
}
- }
- }
-
- &.ws-is-rtl {
-
- .option-value {
- float: right;
- }
-
- .option-label {
- float: left;
- margin-right: em(10);
- margin-left: 0;
- text-align: left;
}
}
}