popup user profile - big screens only (phones have no hover)

This commit is contained in:
rimu 2024-12-23 12:26:28 +13:00
parent c01fd229e9
commit 5ee8e49bc4
2 changed files with 35 additions and 30 deletions

View file

@ -1965,6 +1965,7 @@ form h5 {
.render_username .author_link {
display: inline-block;
}
@media (min-width: 1280px) {
.render_username .author_link:hover + .user_preview, .render_username .user_preview:hover {
display: inline-block !important;
position: absolute;
@ -1982,6 +1983,7 @@ form h5 {
.render_username .user_preview .card .preview_avatar_image img {
max-width: 100%;
}
}
/* high contrast */
@media (prefers-contrast: more) {

View file

@ -1682,6 +1682,7 @@ form {
display: inline-block;
}
@include breakpoint(laptop) {
.author_link:hover + .user_preview, .user_preview:hover {
display: inline-block !important;
position: absolute;
@ -1704,6 +1705,8 @@ form {
}
}
}
/* high contrast */
@import "scss/high_contrast";