From 2f2437ffc395bf542a6dbf3bfa2f59020a506572 Mon Sep 17 00:00:00 2001 From: Florian BLOUET Date: Fri, 11 Dec 2015 18:21:00 +0100 Subject: [PATCH] PHRAS-865 - fix icon display in iconograph mode --- resources/www/prod/skins/skin-shared.scss | 8 +++++ .../prod/skins/ui-components/_answers.scss | 10 ++++++ templates/web/prod/results/record.html.twig | 31 +++++-------------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/resources/www/prod/skins/skin-shared.scss b/resources/www/prod/skins/skin-shared.scss index 72dbb8db93..6360c94710 100644 --- a/resources/www/prod/skins/skin-shared.scss +++ b/resources/www/prod/skins/skin-shared.scss @@ -511,6 +511,14 @@ h4 { color: $textPrimaryInverseColor; } +.dl-horizontal { + dd { + &:before { + content: "\200b"; // unicode zero width space character + } + } +} + @import 'ui-components/jquery-ui'; @import 'ui-components/context-menu'; @import 'ui-components/forms'; diff --git a/resources/www/prod/skins/ui-components/_answers.scss b/resources/www/prod/skins/ui-components/_answers.scss index c3da6bddea..5272336ef6 100644 --- a/resources/www/prod/skins/ui-components/_answers.scss +++ b/resources/www/prod/skins/ui-components/_answers.scss @@ -60,6 +60,16 @@ $answersInfoLabelColor: #949494 !default; width: 600px; overflow: hidden; border: 3px solid #404040; + .desc { + .dl-horizontal { + dt { + width: 70px; //100 + } + dd { + margin-left: 90px; //120 + } + } + } } } diff --git a/templates/web/prod/results/record.html.twig b/templates/web/prod/results/record.html.twig index ac01da8fa4..48dc7cf2f1 100644 --- a/templates/web/prod/results/record.html.twig +++ b/templates/web/prod/results/record.html.twig @@ -66,27 +66,16 @@ {% endif %} {# drop down options #} - + - - - {# - - - - #} - - - {% if record.subdefs.preview is defined and has_access_subdef(record, 'preview') %} - - - - - {#
#} + {% if settings.rollover_thumbnail == 'caption' %} + {% if record.subdefs.preview is defined and has_access_subdef(record, 'preview') %} + + + + + {% endif %} {% endif %} - {% if settings.rollover_thumbnail == 'preview' %} @@ -95,10 +84,6 @@ {% endif %} {% if settings.technical_display == '1' %} - {##} -