fix: spleen/ideal name fills available width, remove item-filler spacer
This commit is contained in:
+1
-1
@@ -241,7 +241,7 @@ ul, li {
|
||||
.item-name-label-header-long { flex-grow: 2; max-width: 14rem; min-width: 14rem; }
|
||||
.item-name-label-header-long2 { flex-grow: 2; max-width: 24rem; min-width: 24rem; }
|
||||
.item-name-label { flex-grow: 2; max-width: 10rem; min-width: 10rem; }
|
||||
.item-name-label-long { margin-top: 4px; flex-grow: 2; max-width: 12rem; min-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.item-name-label-long { margin-top: 4px; flex: 1; min-width: 4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.item-name-label-short { margin-top: 4px; flex-grow: 1; max-width: 4rem; min-width: 4rem; }
|
||||
.item-name-label-medium { margin-top: 4px; flex-grow: 2; max-width: 6rem; min-width: 6rem; }
|
||||
.item-name-label-medium2 { margin-top: 4px; flex-grow: 0; max-width: 10rem; min-width: 10rem; }
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
<li class="flexrow item" data-item-id="{{spleen.id}}">
|
||||
<label class="item-field-label-short">Spleen :</label>
|
||||
<label class="item-name-label-long" title="{{spleen.name}}">{{spleen.name}}</label>
|
||||
<div class="item-filler"> </div>
|
||||
{{#if spleen}}
|
||||
<div class="item-controls item-controls-fixed-full">
|
||||
<a class="item-control item-add" data-type="trait" title="Create Trait"><i
|
||||
@@ -31,7 +30,6 @@
|
||||
<li class="item flexrow" data-item-id="{{ideal.id}}">
|
||||
<label class="item-field-label-short">Ideal :</label>
|
||||
<label class="item-name-label-long" title="{{ideal.name}}">{{ideal.name}}</label>
|
||||
<div class="item-filler"> </div>
|
||||
{{#if ideal}}
|
||||
<div class="item-controls item-controls-fixed-full">
|
||||
<a class="item-control item-add" data-type="trait" title="Create Trait"><i
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
<li class="flexrow item" data-item-id="{{spleen._id}}">
|
||||
<label class="item-field-label-short">{{localize "ECRY.ui.spleen"}} :</label>
|
||||
<label class="item-name-label-long" title="{{spleen.name}}">{{spleen.name}}</label>
|
||||
<div class="item-filler"> </div>
|
||||
{{#if spleen}}
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a data-action="itemEdit" data-item-id="{{spleen._id}}" title="{{localize 'ECRY.ui.edit'}}"><i class="fas fa-edit"></i></a>
|
||||
@@ -28,7 +27,6 @@
|
||||
<li class="item flexrow" data-item-id="{{ideal._id}}">
|
||||
<label class="item-field-label-short">{{localize "ECRY.ui.ideal"}} :</label>
|
||||
<label class="item-name-label-long" title="{{ideal.name}}">{{ideal.name}}</label>
|
||||
<div class="item-filler"> </div>
|
||||
{{#if ideal}}
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a data-action="itemEdit" data-item-id="{{ideal._id}}" title="{{localize 'ECRY.ui.edit'}}"><i class="fas fa-edit"></i></a>
|
||||
|
||||
Reference in New Issue
Block a user