From f4ae3fc0e4107311b54e50c20a04fcd744ec71ee Mon Sep 17 00:00:00 2001 From: Antoine Clausse Date: Mon, 2 Dec 2024 11:41:41 +0100 Subject: [PATCH] [web] Reduce `pre` line height (#22182) * Remove bad prop "divider" in DropdownDivider * Reduce line height in log-entry-content-raw Per https://digital-science.slack.com/archives/C05JM5NTHUP/p1732704056729519 * Decrease `pre` line-height to `--line-height-01` (body-xs) GitOrigin-RevId: 584ba587d1fc3b8964b96722a6e72efc9fea1059 --- .../js/features/pdf-preview/components/pdf-file-list.jsx | 2 +- .../frontend/stylesheets/bootstrap-5/pages/editor/logs.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/js/features/pdf-preview/components/pdf-file-list.jsx b/services/web/frontend/js/features/pdf-preview/components/pdf-file-list.jsx index 5eebb3c4e0..c4258c924b 100644 --- a/services/web/frontend/js/features/pdf-preview/components/pdf-file-list.jsx +++ b/services/web/frontend/js/features/pdf-preview/components/pdf-file-list.jsx @@ -79,7 +79,7 @@ function PdfFileList({ fileList }) { ))} {fileList.other.length > 0 && fileList.top.length > 0 && ( - + )} {fileList.other.map(file => ( diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss index 3a495c844e..98dd16856d 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss @@ -150,7 +150,8 @@ } .log-entry-content-raw { - font-size: var(--font-size-01); + @include body-xs; + color: var(--content-secondary); padding: var(--spacing-03); margin: 0;