From 583923a4d09a27ae6617d3bf7b433f4b91c5a42c Mon Sep 17 00:00:00 2001 From: Kristina <7614497+khjrtbrg@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:16:36 +0100 Subject: [PATCH] [web] Use btn-secondary on compile timeout notification (#21949) * [web] Use btn-secondary on compile timeout notification * fix update to wrong variant GitOrigin-RevId: 9745ae17525e835c96f62471aa24a8ae9a1e7e93 --- .../compile-time-warning-upgrade-prompt-inner.tsx | 2 +- services/web/frontend/stylesheets/app/editor/pdf.less | 7 ------- .../stylesheets/bootstrap-5/pages/editor/logs.scss | 7 ------- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/services/web/frontend/js/features/pdf-preview/components/compile-time-warning-upgrade-prompt-inner.tsx b/services/web/frontend/js/features/pdf-preview/components/compile-time-warning-upgrade-prompt-inner.tsx index 1cf62883d0..2c59fdb314 100644 --- a/services/web/frontend/js/features/pdf-preview/components/compile-time-warning-upgrade-prompt-inner.tsx +++ b/services/web/frontend/js/features/pdf-preview/components/compile-time-warning-upgrade-prompt-inner.tsx @@ -18,7 +18,7 @@ export const CompileTimeWarningUpgradePromptInner: FC<{ variant="new-10s" source="compile-time-warning" buttonProps={{ - className: 'btn-secondary-compile-timeout-override', + variant: 'secondary', }} > {hasNewPaywallCta diff --git a/services/web/frontend/stylesheets/app/editor/pdf.less b/services/web/frontend/stylesheets/app/editor/pdf.less index e3a4d38a23..fe6dbeb200 100644 --- a/services/web/frontend/stylesheets/app/editor/pdf.less +++ b/services/web/frontend/stylesheets/app/editor/pdf.less @@ -545,10 +545,3 @@ @margin-md ); } - -.btn-secondary-compile-timeout-override { - color: #1b222c; - background-color: #ffffff; - border-color: #677283; - border-width: 1px; -} 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 7cf92c6e10..3a495c844e 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss @@ -186,13 +186,6 @@ } } -.btn-secondary-compile-timeout-override { - color: var(--content-primary); - background-color: var(--bg-light-primary); - border-color: var(--border-primary); - border-width: 1px; -} - .log-entry-formatted-content, .log-entry-content-link { font-size: var(--font-size-02);