Skip to content

Commit

Permalink
fix pipi css collissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dankco committed Feb 2, 2024
1 parent 2a9f411 commit 778b3d5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pages/Demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Demo: FC = () => {
size={40}
handleCorrect={setConfetti}
>
<img className="pipi" src={Pipi} alt="Pipi"></img>
<img className="demo-pipi" src={Pipi} alt="Pipi"></img>
<Box letter="a" num={3} conf={false}></Box>
<div></div>
<Box letter="b" num={2} conf={false}></Box>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Exercise3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Exercise3: FC = () => {
<Box letter="m" num={3} conf={false}></Box>
</Grid>
</div>
<img className="pipi" src={Pipi} alt="Pipi" />
<img className="exercise-3-pipi" src={Pipi} alt="Pipi" />
</div>
<h3>
Pipi now wants to replace the basketball with a soccer ball. What is
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Lesson1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Lesson1: FC = () => {
the memory in your computer is also labeled with addresses.
</p>
<div className="diagram">
<img src={PipiBox} className="pipi"></img>
<img src={PipiBox} className="lesson-1-pipi"></img>
</div>
<p>
Every time your program creates a variable, it places the variable
Expand Down
2 changes: 1 addition & 1 deletion src/styles/Demo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $header-height: 8vh;
margin: 2rem;
}

.pipi {
.demo-pipi {
height: 70px;
object-fit: cover;
width: 50px;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/Exercise3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
margin-top: 2.5em;
}

.pipi {
.exercise-3-pipi {
position: absolute;
top: 515px;
z-index: 2;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/Lesson1.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Pipi
//=======================================

.pipi {
.lesson-1-pipi {
display: block;
margin-left: auto;
margin-right: auto;
Expand Down

0 comments on commit 778b3d5

Please sign in to comment.