Skip to content

Commit

Permalink
Fix popup display
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelamotte committed Feb 7, 2025
1 parent db41199 commit 76952ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _posts/2025-02-03/2025-02-03-rank-stuff.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<style>
.popup {
background-color: var(--bg);
position: fixed;
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -37,7 +37,7 @@

@media (min-width: 768px) {
.big {
font-size: 8rem;
font-size: 4rem;
}

.medium {
Expand Down
2 changes: 1 addition & 1 deletion _posts/2025-02-03/rank-stuff.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const displayEdit = (values) => {
}

const displayResult = (array) => {
const popup = document.createElement("article");
const popup = document.createElement("div");
popup.classList.add("popup");
const content = document.createElement("div");
content.classList.add("medium")
Expand Down

0 comments on commit 76952ee

Please sign in to comment.