forked from mirror/pixelfed
fix info overlay on small layouts
one row is not enough space; use flex column instead
This commit is contained in:
parent
c253436808
commit
29e67be45c
1 changed files with 8 additions and 0 deletions
8
resources/assets/sass/custom.scss
vendored
8
resources/assets/sass/custom.scss
vendored
|
@ -124,6 +124,14 @@ body, button, input, textarea {
|
|||
|
||||
.info-overlay:hover .info-overlay-text {
|
||||
display: flex;
|
||||
h5 {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.info-overlay-text {
|
||||
|
|
Loading…
Reference in a new issue