Skip to content

Commit

Permalink
Removed old unneccessary style
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogomil-Stoyanov committed Dec 2, 2024
1 parent bc2e296 commit 848521a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/intro/intro.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Intro extends React.Component {
}

<Video
className={classnames('intro-videos', !this.state.videoOpen && 'invisible')}
className={classnames('intro-videos')}
videoId="joal01i8b1"
shouldPlay={this.state.videoOpen}
/>
Expand Down
8 changes: 0 additions & 8 deletions src/components/intro/intro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@
margin-right: 4rem;
}

// Ensures the element is rendered but does not occupy space or affect layout
.invisible {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}

.video-image {
position: relative;
cursor: pointer;
Expand Down

0 comments on commit 848521a

Please sign in to comment.