From 1b03bb6e5d03f3f8c53c75e8f62d8fbb1b8a0327 Mon Sep 17 00:00:00 2001 From: Andrew Rumble Date: Thu, 3 Jul 2025 10:46:21 +0100 Subject: [PATCH] Fix prettier GitOrigin-RevId: a3bdc1bc6a8bfa05ed9f8d7bfcd91cbd4cd48375 --- .../ui/components/bootstrap-5/footer/thin-footer.tsx | 4 +++- services/web/frontend/stylesheets/app/editor/pdf.less | 8 ++++---- .../web/frontend/stylesheets/app/website-redesign.less | 6 ++++-- .../frontend/stylesheets/bootstrap-5/components/card.scss | 6 ++++-- .../stylesheets/bootstrap-5/foundations/spacing.scss | 7 ++++--- .../bootstrap-5/pages/editor/online-users.scss | 4 ++-- .../bootstrap-5/pages/project-list-ds-nav.scss | 5 ++--- services/web/frontend/stylesheets/components/card.less | 6 ++++-- 8 files changed, 27 insertions(+), 19 deletions(-) diff --git a/services/web/frontend/js/features/ui/components/bootstrap-5/footer/thin-footer.tsx b/services/web/frontend/js/features/ui/components/bootstrap-5/footer/thin-footer.tsx index ae95136547..f632bfbb5e 100644 --- a/services/web/frontend/js/features/ui/components/bootstrap-5/footer/thin-footer.tsx +++ b/services/web/frontend/js/features/ui/components/bootstrap-5/footer/thin-footer.tsx @@ -76,7 +76,9 @@ function ThinFooter({ {hasCustomLeftNav ? : null} ) : null} - {leftItems?.map(item => )} + {leftItems?.map(item => ( + + ))}
    {rightItems?.map(item => ( diff --git a/services/web/frontend/stylesheets/app/editor/pdf.less b/services/web/frontend/stylesheets/app/editor/pdf.less index 545cac0e9d..3531a8289e 100644 --- a/services/web/frontend/stylesheets/app/editor/pdf.less +++ b/services/web/frontend/stylesheets/app/editor/pdf.less @@ -539,8 +539,8 @@ } @editor-and-logs-pane-toolbars-height: @toolbar-small-height + @toolbar-height; -@btn-small-height: (@padding-small-vertical * 2)+ (@font-size-small * - @line-height-small); // 5px * 2 + 14px * 1.5 = 31px +@btn-small-height: (@padding-small-vertical * 2)+ + (@font-size-small * @line-height-small); // 5px * 2 + 14px * 1.5 = 31px #dropdown-files-logs-pane-list { overflow-y: auto; @@ -548,7 +548,7 @@ white-space: nowrap; } max-height: calc( - ~'100vh - ' @editor-and-logs-pane-toolbars-height ~' - ' @btn-small-height ~' - ' - @margin-md + ~'100vh - ' @editor-and-logs-pane-toolbars-height ~' - ' @btn-small-height + ~' - ' @margin-md ); } diff --git a/services/web/frontend/stylesheets/app/website-redesign.less b/services/web/frontend/stylesheets/app/website-redesign.less index 6c5bf9b582..c66e801f4c 100644 --- a/services/web/frontend/stylesheets/app/website-redesign.less +++ b/services/web/frontend/stylesheets/app/website-redesign.less @@ -653,7 +653,8 @@ display: flex; justify-content: space-between; padding: 64px; - background-image: linear-gradient( + background-image: + linear-gradient( to right, rgba(0, 0, 0, 0.4) 0%, @cta-card-bg-color 20%, @@ -694,7 +695,8 @@ align-items: center; padding: 64px; color: var(--white); - background-image: linear-gradient( + background-image: + linear-gradient( to right, rgba(0, 0, 0, 0.4) 0%, @cta-card-bg-color 25%, diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/card.scss b/services/web/frontend/stylesheets/bootstrap-5/components/card.scss index b99c107083..777ec46c79 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/card.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/card.scss @@ -107,7 +107,8 @@ color: var(--white); text-align: center; background-size: cover; - background-image: linear-gradient( + background-image: + linear-gradient( to right, rgba(0 0 0 / 40%) 0%, var(--dark-jungle-green) 25%, @@ -142,7 +143,8 @@ border-radius: var(--border-radius-medium); color: var(--white); background-size: cover; - background-image: linear-gradient( + background-image: + linear-gradient( to right, rgba(0 0 0 / 40%) 0%, var(--dark-jungle-green) 20%, diff --git a/services/web/frontend/stylesheets/bootstrap-5/foundations/spacing.scss b/services/web/frontend/stylesheets/bootstrap-5/foundations/spacing.scss index 2609c99b6d..6170be4cc9 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/foundations/spacing.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/foundations/spacing.scss @@ -16,9 +16,10 @@ $spacing-13: 64px; $spacing-14: 72px; $spacing-15: 80px; $spacing-16: 96px; -$all-spacings: spacing-00, spacing-01, spacing-02, spacing-03, spacing-04, - spacing-05, spacing-06, spacing-07, spacing-08, spacing-09, spacing-10, - spacing-11, spacing-12, spacing-13, spacing-14, spacing-15, spacing-16; +$all-spacings: + spacing-00, spacing-01, spacing-02, spacing-03, spacing-04, spacing-05, + spacing-06, spacing-07, spacing-08, spacing-09, spacing-10, spacing-11, + spacing-12, spacing-13, spacing-14, spacing-15, spacing-16; :root { --spacing-00: #{$spacing-00}; diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/online-users.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/online-users.scss index 2a03c22c19..a37152854d 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/online-users.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/online-users.scss @@ -114,8 +114,8 @@ min-width: var(--online-users-circle-size); height: var(--online-users-circle-size); line-height: calc( - var(--online-users-circle-size) - 2 * var(--online-users-border-size) - 2 * - var(--online-users-circle-padding) + var(--online-users-circle-size) - 2 * var(--online-users-border-size) - + 2 * var(--online-users-circle-padding) ); font-size: var(--font-size-01); text-align: center; diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/project-list-ds-nav.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/project-list-ds-nav.scss index e87c41f22f..d71de37470 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/project-list-ds-nav.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/project-list-ds-nav.scss @@ -105,9 +105,8 @@ > .dropdown-menu { // navbar + new-project spacing + new-project button height (36px) + extra padding max-height: calc( - 100vh - #{$header-height} - var(--spacing-03) - var(--spacing-08) - 36px - var( - --spacing-05 - ) + 100vh - #{$header-height} - var(--spacing-03) - var(--spacing-08) - + 36px - var(--spacing-05) ); overflow: auto; } diff --git a/services/web/frontend/stylesheets/components/card.less b/services/web/frontend/stylesheets/components/card.less index 67e7bfc512..78031e2c30 100644 --- a/services/web/frontend/stylesheets/components/card.less +++ b/services/web/frontend/stylesheets/components/card.less @@ -146,7 +146,8 @@ padding: var(--spacing-13); text-align: center; background-size: cover; - background-image: linear-gradient( + background-image: + linear-gradient( to right, rgba(0, 0, 0, 0.4) 0%, var(--dark-jungle-green) 25%, @@ -176,7 +177,8 @@ color: var(--white); padding: var(--spacing-13); background-size: cover; - background-image: linear-gradient( + background-image: + linear-gradient( to right, rgba(0, 0, 0, 0.4) 0%, var(--dark-jungle-green) 20%,