(css) Fix pseudo-input label size

This commit is contained in:
Francis Lachapelle
2016-06-14 11:39:51 -04:00
parent 35c0436bf6
commit d9f499ff52
3 changed files with 6 additions and 5 deletions

View File

@@ -102,12 +102,12 @@
<md-list-item ng-class="{ 'md-2-line': editor.component.isAllDay, 'md-3-line': !editor.component.isAllDay }">
<md-icon>access_time</md-icon>
<div class="md-list-item-text" ng-show="editor.component.startDate">
<p><var:string label:value="Start"/></p>
<p class="pseudo-input-label"><var:string label:value="Start"/></p>
<h3>{{::editor.component.localizedStartDate}}</h3>
<h3 ng-hide="editor.component.isAllDay">{{::editor.component.localizedStartTime}}</h3>
</div>
<div class="md-list-item-text" ng-show="editor.component.endDate">
<p><var:string label:value="End"/></p>
<p class="pseudo-input-label"><var:string label:value="End"/></p>
<h3>{{::editor.component.localizedEndDate}}</h3>
<h3 ng-hide="editor.component.isAllDay">{{::editor.component.localizedEndTime}}</h3>
</div>

View File

@@ -63,12 +63,12 @@
ng-show="editor.component.startDate || editor.component.dueDate">
<md-icon>access_time</md-icon>
<div class="md-list-item-text" ng-show="editor.component.startDate">
<p><var:string label:value="Start"/></p>
<p class="pseudo-input-label"><var:string label:value="Start"/></p>
<h3>{{::editor.component.localizedStartDate}}</h3>
<h3 ng-hide="editor.component.isAllDay"> {{::editor.component.localizedStartTime}}</h3>
</div>
<div class="md-list-item-text" ng-show="editor.component.dueDate">
<p><var:string label:value="Due Date"/></p>
<p class="pseudo-input-label"><var:string label:value="Due Date"/></p>
<h3>{{::editor.component.localizedDueDate}}</h3>
<h3 ng-hide="editor.component.isAllDay">{{::editor.component.localizedDueTime}}</h3>
</div>

View File

@@ -37,8 +37,9 @@
margin-top: $mg;
color: $colorGray;
font-weight: $sg-font-regular;
font-size: sg-size(caption);
line-height: $sg-line-height-1;
transform: scale($input-label-float-scale);
@include rtl(transform-origin, left top, right top);
}
.pseudo-input-label--no-margin,