From a6db6615df39f1a94ea1b115a02746abc2de3574 Mon Sep 17 00:00:00 2001 From: Naomi Date: Thu, 23 Jan 2020 10:04:50 +0000 Subject: [PATCH] No longer trimming activity text in views --- config/install/views.view.activities.yml | 3 +-- css/opencase.css | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/install/views.view.activities.yml b/config/install/views.view.activities.yml index 165510a..2816491 100644 --- a/config/install/views.view.activities.yml +++ b/config/install/views.view.activities.yml @@ -13,7 +13,6 @@ description: '' tag: '' base_table: oc_activity_field_data base_field: id -core: 8.x display: default: display_plugin: default @@ -233,7 +232,7 @@ display: more_link_text: '' more_link_path: '' strip_tags: false - trim: true + trim: false preserve_tags: '' html: false element_type: '' diff --git a/css/opencase.css b/css/opencase.css index 6187f3a..595754b 100644 --- a/css/opencase.css +++ b/css/opencase.css @@ -41,3 +41,8 @@ body { .block-superfish .menu ul li a:hover { color: black; } + +/* In views, display label at top of field. Ths is because full descriptions are displayed in the activity view so having the label in the middle means it disappears down the page. */ +td.views-field { + vertical-align: top; +}