File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 22 background-color : $color-base-900 ;
33 display : flex ;
44 align-items : center ;
5- gap : $spacing-5 ;
5+ gap : $spacing-3 ;
66 position : rel;
77 padding-top : $spacing-3 ;
88
1414 @include tablet-up {
1515 padding-bottom : $spacing-3 ;
1616 }
17-
18- & .noDescription {
19- padding-bottom : $spacing-3 ;
20- }
2117}
2218
2319.appLink {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export function PreviewBar({ newsroom }: Props) {
3535 }
3636
3737 return (
38- < div className = { classNames ( styles . wrapper , { [ styles . noDescription ] : ! isSecretStoryPage } ) } >
38+ < div className = { styles . wrapper } >
3939 < a
4040 className = { styles . appLink }
4141 href = "https://rock.prezly.com"
@@ -49,11 +49,17 @@ export function PreviewBar({ newsroom }: Props) {
4949 >
5050 < IconPrezly />
5151 </ a >
52- { isSecretStoryPage && (
52+
53+ { isSecretStoryPage ? (
5354 < p className = { styles . description } >
5455 This is a preview with a temporary URL which will change after publishing.
5556 </ p >
57+ ) : (
58+ < p className = { styles . description } >
59+ Site preview
60+ </ p >
5661 ) }
62+
5763 < div className = { styles . actions } >
5864 < a
5965 className = { styles . action }
You can’t perform that action at this time.
0 commit comments