Skip to content

Commit

Permalink
PagesEditor: fine tune CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin committed Jan 9, 2025
1 parent cad5274 commit 42330fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default function WorkflowHeaderTitle() {
return (
<div className="workflow-header-title">
<h2>{workflowTitle}</h2>
<span className="spacer" />
<a
className="button-link"
href={previewUrl}
Expand Down
10 changes: 7 additions & 3 deletions css/lab-pages-editor.styl
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ $fontWeightBoldPlus = 700
border: 1px dashed blue
max-width: 840px
margin: 0 auto
padding: 0 $sizeS

flex-row()
align-items: center
Expand All @@ -159,7 +160,7 @@ $fontWeightBoldPlus = 700
.small-width
width: 60px

.flex-item
.flex-item, .spacer
flex: 1 1 auto

.align-start
Expand All @@ -186,8 +187,7 @@ $fontWeightBoldPlus = 700
.workflow-version
color: $teal

// Component: Workflow Top Links and Workflow Tabs
// Formerly grouped as "Workflow Header"
// Component: Workflow "Header" components
// ---------------------------------------------------------------------------

.workflow-top-links
Expand All @@ -210,6 +210,10 @@ $fontWeightBoldPlus = 700
.zooniverse-logo
max-width: 160px

.workflow-header-title
main-content()
flex-row()

.workflow-header-tabs
main-content()
flex-row()
Expand Down

0 comments on commit 42330fa

Please sign in to comment.