Revert "Move property classes to be able to remove margin-bottom from last property in list. Set margin-bottom on last property to 0."

This reverts commit d982ca111d.
This commit is contained in:
Mads Rasmussen
2015-06-19 09:10:05 +02:00
parent d982ca111d
commit fcbb4e819e
2 changed files with 6 additions and 13 deletions

View File

@@ -195,8 +195,10 @@
min-height: 50px;
}
.edt-property {
.edt-property{
position: relative;
display: flex;
flex-flow: row;
-webkit-transition: all 0.5s;
transition: all 0.5s;
margin-bottom: 5px;
@@ -208,15 +210,6 @@
}
}
.edt-property:last-child {
margin-bottom: 0;
}
.edt-property-content {
display: flex;
flex-flow: row;
}
.edt-property-meta {
flex: 0 0 175px;
margin-right: 20px;

View File

@@ -42,10 +42,10 @@
<div class="edt-property-group">
<ul class="edt-property-list no-style-list" ui-sortable="sortableOptionsEditor"
ng-model="tab.properties" class="no-style-list">
<li ng-repeat="property in tab.properties" class="edt-property" ng-class="{'active': property.dialogIsOpen, 'property-state-active animated fadeIn': property.propertyState=='active', 'property-state-init animated fadeIn': property.propertyState=='init', 'property-is-inherited': property.inherited, 'edt-property-handle': sortingMode}">
<li ng-repeat="property in tab.properties">
<!-- Init property / Property placeholder / add new property -->
<div class="edt-property-content" ng-if="property.propertyState=='init'" ng-click="editPropertyTypeSettings(property)">
<div class="edt-property" ng-show="property.propertyState=='init'" ng-class="{'property-state-init animated fadeIn': property.propertyState=='init'}" ng-click="editPropertyTypeSettings(property)">
<div class="edt-property-meta">
<div class="placeholder-input-small"></div>
@@ -65,7 +65,7 @@
</div>
<div class="edt-property-content" ng-if="property.propertyState!=='init'">
<div class="edt-property" ng-show="property.propertyState!=='init'" ng-class="{'active': property.dialogIsOpen, 'property-state-active animated fadeIn': property.propertyState=='active', 'property-is-inherited': property.inherited, 'edt-property-handle': sortingMode}">
<!-- property meta text -->
<div class="edt-property-meta">