Skip to content

Commit

Permalink
Fixed a styling a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit20v committed Jan 6, 2025
1 parent 82a6ed2 commit 2344f5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ function App() {
<div className="canvas-container">
<div className="toolbar-wrapper">
{showIntroText &&
<h1 className="intro-text" onMouseEnter={handleHover}>Hover me</h1>
<div className="intro-text">
<h1 onMouseEnter={handleHover}>Hover me</h1>
</div>
}

<ToolPickerContainer tool={tool} setTool={setTool} stageRef={stageRef}
Expand Down
6 changes: 2 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,10 @@ body {
.intro-text {
position: absolute;
z-index: -10;
top: 50%;
font-size: 4vh;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
width: 100%;
color: white;
top: 4%;
cursor: pointer;
letter-spacing: 6px;
font-family: sansilk, cursive;
Expand Down

0 comments on commit 2344f5d

Please sign in to comment.