Skip to content

Commit

Permalink
Shorten the line when in new-version flow
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Dec 17, 2024
1 parent eef21c3 commit c8ec3bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
&.long {
height: 175px;
}

&.short {
height: 40px;
}
}

&.mobile {
Expand All @@ -32,6 +36,10 @@
&.long {
height: fit-content;
}

&.short {
height: fit-content;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div local-class='status-flow-container {{if (is-mobile) 'mobile'}}'>
<div local-class='line {{if @manager.displayAuthorAssertions 'long'}}'/>
<div local-class='line {{if @manager.displayAuthorAssertions 'long' (if @manager.isNewVersionFlow 'short')}}'/>
<Preprints::-Components::Submit::PreprintStateMachine::StatusFlow::StatusFlowDisplay
@manager={{@manager}}
@type={{@manager.getTitleAndAbstractType}}
Expand Down

0 comments on commit c8ec3bb

Please sign in to comment.