-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[files_versions] Fix sidebar version item style #53512
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
Conversation
|
/backport to stable31 |
|
/backport to stable30 |
|
/compile |
|
Why not give it enough space for « Current version » to be shown entirely? |
|
@tcitworld No reason. Anyway many translations of this string are longer and will be cut. |
skjnldsv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise ok, I would indeed make the label flex-grow with a max-width :)
artonge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nextcloud/designers can you give us your opinion?
jancborchardt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very nice @julien-nc! :)
Why not give it enough space for « Current version » to be shown entirely?
Agree with @tcitworld’s point – since the 100px width is an arbitrary value anyway, it might as well be a little bit wider so that our default texts are shown fully, at least in English. :)
…t get invisible if the author name is long Signed-off-by: Julien Veyssier <[email protected]>
abe85ad to
422e3d9
Compare
|
/compile |
|
@jancborchardt Changed the min-width and updated the screenshot. |
Signed-off-by: nextcloud-command <[email protected]>
Give the version label a min width so it does not get invisible when the author name is long.
Make sure the overflow ofboth version label and author name are ellispsised.
Before
After