Skip to content

Commit

Permalink
adding header
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonTheBusyBeaver117 committed Oct 3, 2023
1 parent cded1ba commit 5727ce2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/components/Review.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const Review = () => {
label="Scouting data accidents / problems"
prop="scoutProblems"
></Checkbox>
<div className="TextLine Divider">Pickup</div>
<Checkbox
label="Ground pickup"
prop="groundPickup"
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/Dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Dropdown = ({prop, phase, wide, center, options}) => {
)
return (
<select
className={(wide ? " wide " : " halfWide ") + (center ? " center " : "")}
className={(wide ? " wide " : " halfWide ") + (center ? " center-text " : "")}
onChange={(event) => {

console.log("phase:" + phase + " prop:" + prop + " val:" + event.target.value)
Expand Down
24 changes: 19 additions & 5 deletions src/components/inputs/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,27 @@ textarea {
padding: 2px 2vw;
}

p,
label,
div.Center {

@mixin center{
display: flex;
align-items: center;
justify-content: center;
}


p,
label,
div.Center {
@include center();
}

div.Divider {
@include center();
text-decoration: underline;
font-weight: bold;
font-size: 1.4rem;
}

label.AlignRight {
justify-content: right;
}
Expand Down Expand Up @@ -217,6 +230,7 @@ div.TripleTeamSelector {
}
}

.center {
.center-text {
text-align: center;
}
}

0 comments on commit 5727ce2

Please sign in to comment.