Inject CSS so that images fill full width of grid item inside of multiparagraph
This commit is contained in:
parent
3a8a081dfa
commit
26a04f78b8
1 changed files with 21 additions and 0 deletions
21
config/asset_injector.css.grid_paragraph_image.yml
Normal file
21
config/asset_injector.css.grid_paragraph_image.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
uuid: 4807a852-0c98-4464-b94a-69f839b9f0c1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_visibility_groups
|
||||
id: grid_paragraph_image
|
||||
label: 'Grid paragraph image'
|
||||
code: |-
|
||||
.grid__item .paragraph--type--image img {
|
||||
width: 100%;
|
||||
}
|
||||
media: all
|
||||
preprocess: true
|
||||
conditions:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: ''
|
||||
contexts: { }
|
||||
conditions_require_all: true
|
Loading…
Reference in a new issue