Skip to content

Commit cafa8e6

Browse files
Anshul SachdevAnshul Sachdev
authored andcommitted
Changed styling of button: absolute to fixed
1 parent 88d912a commit cafa8e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Binary Search Tree/FindMinNode/css/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ canvas {
123123
}
124124

125125
.play-pause-buttons {
126-
position: absolute;
126+
position: fixed;
127127
left: 50%;
128128
bottom: 0;
129129
transform: translate(-50%, 0);
@@ -144,7 +144,7 @@ button:focus {
144144
}
145145

146146
.play-pause-buttons {
147-
position: absolute;
147+
position: fixed;
148148
left: auto;
149149
right: 0;
150150
transform: translate(0, 0);

Binary Search Tree/FindMinNode/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
</div>
4747

48-
<div style="position: absolute; left: 0; bottom: 0;">
48+
<div style="position: fixed; left: 0; bottom: 0;">
4949
<a href="https://www.geekosophers.com">
5050
<button class="btn-animation">
5151
<div style="font-size: 1.2rem; text-align: left;">An Initiative by</div>
@@ -59,7 +59,7 @@
5959
<button class="btn-animation" onclick="nextStep();">Next Step</button>
6060
</div>
6161

62-
<div style="position: absolute;right: 0;bottom: 0;">
62+
<div style="position: fixed;right: 0;bottom: 0;">
6363
<button id="full-screen" class="btn-animation show-for-mobile" onclick="handleFullScreen();">Full Screen</button>
6464
</div>
6565

0 commit comments

Comments
 (0)