Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9aab7c5

Browse files
authored
#22204 Issue: Centered File info in lightbox (#9971)
* #22204 Issue: Centered File info in lightbox * #22204 Issue: Centered File info in lightbox
1 parent c1c50ec commit 9aab7c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

res/css/views/elements/_ImageView.pcss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ $button-gap: 24px;
6767
flex-direction: row;
6868
align-items: center;
6969
color: $lightbox-fg-color;
70+
flex-grow: 1;
71+
flex-basis: 0;
7072
}
7173

7274
.mx_ImageView_info {
@@ -82,13 +84,19 @@ $button-gap: 24px;
8284
.mx_ImageView_title {
8385
color: $lightbox-fg-color;
8486
font-size: $font-12px;
87+
flex-grow: 1;
88+
flex-basis: 0;
89+
text-align: center;
8590
}
8691

8792
.mx_ImageView_toolbar {
8893
padding-right: 16px;
8994
pointer-events: initial;
9095
display: flex;
9196
align-items: center;
97+
flex-grow: 1;
98+
flex-basis: 0;
99+
justify-content: flex-end;
92100
gap: calc($button-gap - ($button-size - $icon-size));
93101
}
94102

0 commit comments

Comments
 (0)