From 106a2b346cb729b4c4d5b8a241fcd9f1aeb33650 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Tue, 26 Sep 2023 23:26:47 -0700 Subject: [PATCH] Update picture-entity.markdown for fit_mode (#29041) --- source/_dashboards/picture-entity.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_dashboards/picture-entity.markdown b/source/_dashboards/picture-entity.markdown index 2fa63308b7b..a3b2b9a6c54 100644 --- a/source/_dashboards/picture-entity.markdown +++ b/source/_dashboards/picture-entity.markdown @@ -52,6 +52,11 @@ aspect_ratio: required: false description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).' type: string +fit_mode: + required: false + description: 'Defines the manner in which the image is stretched/clipped to fit the card area. `cover`: The image keeps its aspect ratio and fills the given dimension. The image will be clipped to fit. `contain`: The image keeps its aspect ratio, but is resized to fit within the given dimension. `fill`: The image is resized to fill the given dimension. If necessary, the image will be stretched or squished to fit.' + type: string + default: cover name: required: false description: Overwrite entity name.