From db79280f1e3127b1a4470bda12797387396cccc6 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 19 Sep 2025 16:28:01 -0500 Subject: [PATCH] Website: Update rituals table styles (#33242) Closes: https://github.com/fleetdm/fleet/issues/31942 Changes: - Updated the styles of ritual tables in the handbook to keep the formatting of multi-line descriptions. --- website/assets/js/components/rituals.component.js | 4 ++-- website/assets/styles/pages/handbook/basic-handbook.less | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/website/assets/js/components/rituals.component.js b/website/assets/js/components/rituals.component.js index f3c6ba0aa8..7f8d842ffd 100644 --- a/website/assets/js/components/rituals.component.js +++ b/website/assets/js/components/rituals.component.js @@ -46,8 +46,8 @@ parasails.registerComponent('rituals', { {{ritual.task}} {{ritual.startedOn}} {{ritual.frequency}} - {{ritual.description}} - {{ritual.description}} + {{ritual.description}} + {{ritual.description}} {{ritual.dri}} diff --git a/website/assets/styles/pages/handbook/basic-handbook.less b/website/assets/styles/pages/handbook/basic-handbook.less index c60ad8d8ae..e4e37576cd 100644 --- a/website/assets/styles/pages/handbook/basic-handbook.less +++ b/website/assets/styles/pages/handbook/basic-handbook.less @@ -463,6 +463,9 @@ padding-bottom: 0px; } } + [purpose='ritual-description'] { + white-space: preserve; + } [purpose='checklist-item'] { display: flex; input[type='checkbox'] {