Skip to content

Commit

Permalink
Small touchups
Browse files Browse the repository at this point in the history
I don't understand if there isn't any way to get the text to automatically position itself on screen or I just can't figure it out.
  • Loading branch information
Zentrik committed Apr 27, 2024
1 parent d30bee4 commit 4536111
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions site/frontend/src/pages/compare/compile/filters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,10 @@ const opened = createPersistedRef(PREF_FILTERS_OPENED);
opacity: 0;
transition: opacity 0.3s, visibility 0.3s;
}
@media screen and (max-width: 600px) {
.regex-tooltiptext {
width: 120px;
margin-left: -180px;
}
}
</style>
7 changes: 7 additions & 0 deletions site/frontend/src/pages/compare/tooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
transition: opacity 0.3s, visibility 0.3s;
}
@media screen and (max-width: 600px) {
.tooltiptext {
width: 120px;
margin-left: -60px;
}
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
Expand Down

0 comments on commit 4536111

Please sign in to comment.