Skip to content

Commit

Permalink
small fix desktop version
Browse files Browse the repository at this point in the history
  • Loading branch information
zumatt committed Dec 5, 2023
1 parent 670ae33 commit de5608c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,16 @@ a:hover{
color: white;
}

.tooltip{
width: 15vw;
}

@media only screen and (max-width: 425px){
.tooltip {
width: 40vw;
}
}

/* -------------------> ANIMATION <------------------- */
@keyframes slideRightToLeft {
0% {
Expand Down
1 change: 0 additions & 1 deletion assets/vizGen.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ if (window.innerWidth <= 1200) {
.style("font", "16px sans-serif")
.style("line-height", "32px")
.style("padding", "30px")
.style("width", "40vw")
.on("click", function(d){mouseleave(d);});

var mouseover = function (d) {
Expand Down

0 comments on commit de5608c

Please sign in to comment.