Skip to content

Commit

Permalink
PagesEditor: add 'main-content' style. Update workflow header
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin committed Jan 8, 2025
1 parent 0050688 commit 2bc7dc9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/pages/lab-pages-editor/components/WorkflowHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function WorkflowHeader({

return (
<div className="workflow-header">
<div className="workflow-header-links flex-row">
<div className="workflow-header-top">
<a href={returnUrl}> {/* Formerly <Link> from 'react-router', but React was throwing Legacy Context errors. */}
<ReturnIcon />
{strings.PagesEditor.components.WorkflowHeader.return}
Expand Down
14 changes: 11 additions & 3 deletions css/lab-pages-editor.styl
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,18 @@ $fontWeightBoldPlus = 700
// ---------------------------------------------------------------------------

main-content()
border: 2px dashed blue
border: 1px dashed blue
max-width: 840px
margin: 0 auto

.flex-row
flex-row()
align-items: center
display: flex
flex-direction: row
gap: $sizeS

.flex-row
flex-row()

.flex-wrap
flex-wrap: wrap
Expand Down Expand Up @@ -193,11 +196,16 @@ $fontWeightBoldPlus = 700
a
min-width: 40%

.workflow-header-links
.workflow-header-top
flex-row()
background: $teal
color: $white
margin-bottom: $sizeM
padding: $sizeXS

a
display: inline-block
color: $white
font-size: $fontSizeS
text-decoration: none

Expand Down

0 comments on commit 2bc7dc9

Please sign in to comment.