From 958821e108355c2a4d4b0413a1155f09c4ca0a2a Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Thu, 27 Dec 2018 12:36:21 -0700 Subject: [PATCH] Fix styling of Person teaser view mode for search results --- ...entity_view_display.node.people.teaser.yml | 67 ++++--------------- 1 file changed, 14 insertions(+), 53 deletions(-) diff --git a/config/sync/core.entity_view_display.node.people.teaser.yml b/config/sync/core.entity_view_display.node.people.teaser.yml index 1875504..449ba92 100644 --- a/config/sync/core.entity_view_display.node.people.teaser.yml +++ b/config/sync/core.entity_view_display.node.people.teaser.yml @@ -10,47 +10,12 @@ dependencies: - field.field.node.people.field_people_position - field.field.node.people.field_people_type - field.field.node.people.field_summary + - image.style.landscape - node.type.people - - responsive_image.styles.narrow module: - - ds - - responsive_image + - image - text - user -third_party_settings: - ds: - layout: - id: ds_2col - library: ds/ds_2col - disable_css: true - entity_classes: all_classes - settings: - wrappers: - left: div - right: div - outer_wrapper: div - attributes: '' - link_attribute: '' - link_custom: '' - classes: - layout_class: { } - regions: - left: - - field_image - right: - - node_title - - field_people_position - - field_summary - fields: - node_title: - plugin_id: node_title - weight: 1 - label: hidden - formatter: default - settings: - link: true - wrapper: h2 - class: '' _core: default_config_hash: gCkJOlEwJlVhfOrZ9tg-TRlQAaIiOeJVH-yWVceuQgc id: node.people.teaser @@ -59,31 +24,27 @@ bundle: people mode: teaser content: field_image: - type: responsive_image + type: image weight: 0 - label: visually_hidden - settings: - responsive_image_style: narrow - image_link: content - third_party_settings: { } - region: left - field_people_position: - type: string - weight: 2 label: hidden settings: - link_to_entity: false + image_style: landscape + image_link: '' third_party_settings: { } - region: right + region: content field_summary: - type: text_default - weight: 3 + type: text_trimmed + weight: 1 label: hidden - settings: { } + settings: + trim_length: 600 third_party_settings: { } - region: right + region: content hidden: field_body_paragraph: true field_meta_tags: true + field_people_position: true field_people_type: true + indieweb_bridgypublishtwitter: true + indieweb_syndication: true links: true