Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align jsdialog bottons not to take up more space #11034

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Align jsdialog bottons not to take up more space
Hide elements that are not part of the jsdialog

Signed-off-by: Banobe Pascal <banobe.pascal@collabora.com>
Change-Id: I823594b14ea15bf2fbee32a5302c64f9dd268564
  • Loading branch information
Banobe Pascal committed Jan 27, 2025
commit d5a33aae9cee9f3ca01508249031dae5f69ceb11
9 changes: 9 additions & 0 deletions browser/css/jsdialogs.css
Original file line number Diff line number Diff line change
@@ -748,6 +748,15 @@ input[type='checkbox']:checked.autofilter, .jsdialog input[type='checkbox']:chec
}
/* checkbox */

#box1 #buttonbox1.jsdialog {
display: flex !important;
}

#box1 .d-flex.justify-content-center:has(.ui-pushbutton.hidden),
#box1 .d-flex.justify-content-center:has(.ui-pushbutton[disabled]) {
display: none;
}

.jsdialog.checkbutton {
white-space: nowrap;
display: flex;