From ecbafcfbe811094cbe0e174c09cc22e069ad01f2 Mon Sep 17 00:00:00 2001 From: Davinder Singh Date: Fri, 27 Sep 2024 15:43:19 +0100 Subject: [PATCH] BS5 CMS migration - Add border radius on images option to CMS (#20659) * introducing new classes for border radius * adding if else for conditionals GitOrigin-RevId: dae2a11e3ba98801d9559127f93af2dbe06a1d89 --- .../bootstrap-5/components/image.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/image.scss b/services/web/frontend/stylesheets/bootstrap-5/components/image.scss index bdcea2aed6..5ac253e2ab 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/image.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/image.scss @@ -1,3 +1,21 @@ .img-rounded { border-radius: var(--border-radius-large); } + +.images-border-radius-base { + img { + border-radius: var(--border-radius-base); + } +} + +.images-border-radius-medium { + img { + border-radius: var(--border-radius-medium); + } +} + +.images-border-radius-large { + img { + border-radius: var(--border-radius-large); + } +}