From c8ec3bb208b83d443bbfebf66384eceabdda06d3 Mon Sep 17 00:00:00 2001 From: futa-ikeda Date: Tue, 17 Dec 2024 15:09:55 -0500 Subject: [PATCH] Shorten the line when in new-version flow --- .../submit/preprint-state-machine/status-flow/styles.scss | 8 ++++++++ .../preprint-state-machine/status-flow/template.hbs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/preprints/-components/submit/preprint-state-machine/status-flow/styles.scss b/app/preprints/-components/submit/preprint-state-machine/status-flow/styles.scss index ed405d15eec..19f0d31087a 100644 --- a/app/preprints/-components/submit/preprint-state-machine/status-flow/styles.scss +++ b/app/preprints/-components/submit/preprint-state-machine/status-flow/styles.scss @@ -20,6 +20,10 @@ &.long { height: 175px; } + + &.short { + height: 40px; + } } &.mobile { @@ -32,6 +36,10 @@ &.long { height: fit-content; } + + &.short { + height: fit-content; + } } } } diff --git a/app/preprints/-components/submit/preprint-state-machine/status-flow/template.hbs b/app/preprints/-components/submit/preprint-state-machine/status-flow/template.hbs index 0633acae74f..7fc42d26f7a 100644 --- a/app/preprints/-components/submit/preprint-state-machine/status-flow/template.hbs +++ b/app/preprints/-components/submit/preprint-state-machine/status-flow/template.hbs @@ -1,5 +1,5 @@
-
+