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

Commit

Permalink
#22204 Issue: Centered File info in lightbox (#9971)
Browse files Browse the repository at this point in the history
* #22204 Issue: Centered File info in lightbox

* #22204 Issue: Centered File info in lightbox
  • Loading branch information
Spartan09 committed Jan 23, 2023
1 parent c1c50ec commit 9aab7c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions res/css/views/elements/_ImageView.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ $button-gap: 24px;
flex-direction: row;
align-items: center;
color: $lightbox-fg-color;
flex-grow: 1;
flex-basis: 0;
}

.mx_ImageView_info {
Expand All @@ -82,13 +84,19 @@ $button-gap: 24px;
.mx_ImageView_title {
color: $lightbox-fg-color;
font-size: $font-12px;
flex-grow: 1;
flex-basis: 0;
text-align: center;
}

.mx_ImageView_toolbar {
padding-right: 16px;
pointer-events: initial;
display: flex;
align-items: center;
flex-grow: 1;
flex-basis: 0;
justify-content: flex-end;
gap: calc($button-gap - ($button-size - $icon-size));
}

Expand Down

0 comments on commit 9aab7c5

Please sign in to comment.