mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
popup user profile - big screens only (phones have no hover)
This commit is contained in:
parent
c01fd229e9
commit
5ee8e49bc4
2 changed files with 35 additions and 30 deletions
|
@ -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) {
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue