PHRAS-2945 #comment Prod-editing : Fix default height/min-height for editing_top_box #time 2h

This commit is contained in:
Harrys Ravalomanana
2020-02-25 14:38:45 +04:00
parent 3ce2720a85
commit c9871eb570
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class DisplaySettingService
'images_per_page' => '20',
'images_size' => '120',
'editing_images_size' => '134',
'editing_top_box' => '180px',
'editing_top_box' => '120px',
'editing_right_box' => '400px',
'editing_left_box' => '710px',
'basket_sort_field' => 'name',

View File

@@ -126,6 +126,7 @@
{% set actionable = recordsRequest|length %}
{% set not_actionable = recordsRequest.received|length - actionable %}
{% set editing_top_box_height = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'editing_top_box') %}
<div id="EDIT_ALL">
@@ -135,8 +136,7 @@
<input style="font-size:2px; width:5px;" type="text" id="editFakefocus" />
</form>
</div>
<div id="EDIT_TOP" style="height:{{app['settings'].getUserSetting(app.getAuthenticatedUser(), 'editing_top_box')
}}%;">
<div id="EDIT_TOP" style="height:{{editing_top_box_height}}%; min-height: {{ editing_top_box_height }}">
<div id="EDIT_MENU">
<div id="EDIT_ZOOMSLIDER" >
</div>