diff --git a/src/css/default/LSform.css b/src/css/default/LSform.css index e177bf80..fbb6496e 100644 --- a/src/css/default/LSform.css +++ b/src/css/default/LSform.css @@ -13,6 +13,9 @@ ul.LSform_layout_active { margin: 1em; margin-bottom: 0; clear: both; + display: flex; + flex-wrap: nowrap; + overflow: auto; } li.LSform_layout a { @@ -32,7 +35,7 @@ li.LSform_layout_active { border-radius: 3px 3px 0px 0px; padding: 4px; display: inline; - margin-right: 1px; + margin-right: 0.3rem; } li.LSform_layout_current { @@ -56,7 +59,7 @@ div.LSform_layout { div.LSform_layout_active { display: none; - margin-top: 4px; + margin-top: 0; } div.LSform_layout_current { @@ -171,6 +174,10 @@ p.LSform_listAvailableDataEntryForm { margin-left: 0.5rem; } + dl.LSform { + clear: both; + } + dt.LSform { width: 34vw; } diff --git a/src/css/default/base.css b/src/css/default/base.css index 0180f46c..7c0a4f06 100644 --- a/src/css/default/base.css +++ b/src/css/default/base.css @@ -308,6 +308,10 @@ li.LSview-actions { margin-right: 0.1rem; } +li.LSview-actions-hidden-label a span { + display: none; +} + /* ******************* * question @@ -518,6 +522,10 @@ input[type='submit'].LSview_search { margin-top: 22px; border-top: 1px solid #0072b8; } + + ul.LSview-actions-dropdown li.LSview-actions-hidden-label a span { + display: initial; + } } @media (max-width: 400px) { diff --git a/src/templates/default/LSview_actions.tpl b/src/templates/default/LSview_actions.tpl new file mode 100644 index 00000000..e9b87e4d --- /dev/null +++ b/src/templates/default/LSview_actions.tpl @@ -0,0 +1,28 @@ +{if isset($LSview_actions) && is_array($LSview_actions) && !empty($LSview_actions)} +
- {foreach from=$LSview_actions item=item}
-
- {/foreach}
-
{$question}
{$validation_label|escape:"htmlall"} diff --git a/src/templates/default/view.tpl b/src/templates/default/view.tpl index 9dbb5651..0a085159 100644 --- a/src/templates/default/view.tpl +++ b/src/templates/default/view.tpl @@ -1,28 +1,8 @@ {extends file='ls:base_connected.tpl'} {block name="content"} {if $pagetitle != ''}