Skip to content

Commit

Permalink
fix: h2 not staying within allotted space
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomBreugelmans committed Nov 29, 2024
1 parent 1a7ce24 commit bc8ac36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions static/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ font-size: 4.5vh;
}
h2 {
position: absolute;
width: 50%;
/*width: 50%;*/
height: 3vh;
left: 25%;
left: 50%;
transform: translateX(-50%);
top: 0;
margin: 0;
background-color: rgba(50, 30, 30, 0.8);
Expand Down

0 comments on commit bc8ac36

Please sign in to comment.