Skip to content

Commit

Permalink
refactor: Update form styles and structure
Browse files Browse the repository at this point in the history
This commit updates the form styles and structure in the `styles.scss` file. It includes changes to the headings (`h2`, `h3`, `h4`) to improve their readability and spacing. Additionally, it introduces a new section for sessions with improved layout and margin. These changes enhance the overall user experience and visual appeal of the form.
  • Loading branch information
szweibel committed Aug 3, 2024
1 parent 1adbdfc commit 4f9427f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
7 changes: 6 additions & 1 deletion pages/dynamic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import useWorkshop from '../../components/Hooks/UseWorkshop';
import Pagination from '../../components/WorkshopPieces/Pagination';
import { Fade } from '@mui/material'
import {ErrorBoundary} from "react-error-boundary";
import { PaddingRounded } from '@mui/icons-material'

const drawerWidth = '-30%';

Expand Down Expand Up @@ -367,7 +368,11 @@ function ErrorFallback({error}) {
<Main open={editorOpen}
id='main'
style={{
paddingLeft: '0px'
paddingLeft: '0px',
paddingRight: {
sm: '0px',
xs: '0px',
}
}}
>
<div className="card-page">
Expand Down
25 changes: 21 additions & 4 deletions styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -620,9 +620,11 @@ header {

//frontmatter styles
.frontmatter {
width: 90%;
padding-left: 20px;
padding-right: 20px;
@include respond-above(md) {
width: 90%;
padding-left: 20px;
padding-right: 20px;
}

@include respond-above(xl) {
display: grid;
Expand All @@ -638,6 +640,14 @@ header {
background-color: $primary-color-bark;
margin-bottom: 20px;
grid-column: 1;
overflow-x: hidden;
padding-left: 20px;
padding-right: 20px;
@include respond-above(md) {
overflow-x: visible;
padding-left: 0px;
padding-right: 0px;
}

h1 {
// front page title
Expand All @@ -655,8 +665,11 @@ header {
background-color: $primary-color-brown;
position: absolute;
height: 100%;
width: 201vw;
@include respond-above(md) {
width: 100vw;
}
// width entire screen
width: 100vw;
left: -150px;
overflow-x: hidden;
}
Expand Down Expand Up @@ -707,6 +720,10 @@ header {

&-item {
grid-column: 1;
padding-left: 20px;
@include respond-above(md) {
padding-left: 0px;
}

h2,
h3 {
Expand Down

0 comments on commit 4f9427f

Please sign in to comment.