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

jsdailog:css: increase width to fit content in manage changes dialog #9067

Merged
merged 1 commit into from
May 28, 2024

Conversation

lpranam
Copy link
Member

@lpranam lpranam commented May 15, 2024

increased jsdialog width to fit content when necessary. max width is set to 1000px because some other dialog(i.e: Zotero) already uses tree widget width 800px which makes the entire dialog approx 990px.

removed margin from icon to make it look even spaced in listview (i.e: manage changes, zotero add citation)

Change-Id: I225b5b5d42d573cb4afcdb428e2eb3b81aa99073

  • Target version: master

Checklist

  • Code is properly formatted
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@pedropintosilva
Copy link
Contributor

Thank you @lpranam but with this commit specifically when using max-content which padding and surrounding context, granted you used also max-width to limit the side effects of that. Nevertheless the content is not wrapping (until it reaches the max-width). This in turn seems to make every jsdialog quite wide.

With this commit Before
image image

@lpranam lpranam force-pushed the js_dialog_width branch 2 times, most recently from bc2aceb to f5442e3 Compare May 21, 2024 23:32
@lpranam lpranam changed the title jsdailog:css: increase jsdialog width to fit content jsdailog:css: increase width to fit content in manage changes dialog May 21, 2024
@lpranam
Copy link
Member Author

lpranam commented May 21, 2024

Now it should only affect manage changes dialog :) @pedropintosilva

Copy link
Contributor

@pedropintosilva pedropintosilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks.
It still affects other places introducing the lack of space regression in places like navigator or function wizard:

image

Copy link
Contributor

@pedropintosilva pedropintosilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

increased jsdialog width to fit content when necessary.

removed margin from icon to make it look even spaced in listview (i.e: manage changes, zotero add citation)

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I225b5b5d42d573cb4afcdb428e2eb3b81aa99073
@lpranam lpranam merged commit ba7917c into CollaboraOnline:master May 28, 2024
13 checks passed
@lpranam lpranam deleted the js_dialog_width branch May 28, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants