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

Fix sidebar's title alignment #2589

Merged
merged 1 commit into from
Dec 20, 2019

Conversation

marcoambrosini
Copy link
Member

@marcoambrosini marcoambrosini commented Dec 17, 2019

Fix #2565

Signed-off-by: Marco Ambrosini marcoambrosini@pm.me

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Nope, fix in globally in the vue components if it's needed please

Also, only the favorite should be aligned: nextcloud-libraries/nextcloud-vue#340 (comment)

Right actions/close are expected to be top right

@nickvergessen
Copy link
Member

Also conflict and there should not be package-lock.json changes in here

@marcoambrosini
Copy link
Member Author

marcoambrosini commented Dec 20, 2019

Also, only the favorite should be aligned: nextcloud-libraries/nextcloud-vue#340 (comment)
Right actions/close are expected to be top right

I don't understand this part @skjnldsv

@skjnldsv
Copy link
Member

Also, only the favorite should be aligned: nextcloud/nextcloud-vue#340 (comment)
Right actions/close are expected to be top right

on the screenshot, the only issue is the favorite icon alignment with the title.
To be fair, it looks weird, why is it bold? We never use bold in nextcloud it should be like the screenshots on nextcloud-libraries/nextcloud-vue#340 (comment)
Or like the current files sidebar.

I just tried it again on server (files, so 0.12.7), and it's all fine
Capture d’écran_2019-12-20_11-33-31

@nickvergessen
Copy link
Member

Well we modified the heading to h2 in nextcloud-libraries/nextcloud-vue#710 as per Jan's request. And it seems since then the padding is off

I guess https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/AppSidebar/AppSidebar.vue#L550 need adjusting to substract only like 8 or 9

@marcoambrosini
Copy link
Member Author

on the screenshot, the only issue is the favorite icon alignment with the title.

The issue is the text sliding down outside its container and being cut!

@marcoambrosini marcoambrosini force-pushed the bugfix/2565/sidebar-title-alignment branch from 394aefa to 5132dc2 Compare December 20, 2019 14:28
@nickvergessen
Copy link
Member

Conflicting files
src/components/RightSidebar/RightSidebar.vue

Please rebase on latest master

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
@marcoambrosini marcoambrosini force-pushed the bugfix/2565/sidebar-title-alignment branch from 5132dc2 to 7620c3c Compare December 20, 2019 14:57
@nickvergessen nickvergessen merged commit 2a20a69 into master Dec 20, 2019
@nickvergessen nickvergessen deleted the bugfix/2565/sidebar-title-alignment branch December 20, 2019 15:36
@skjnldsv
Copy link
Member

Nope, fix in globally in the vue components if it's needed please

Please forward this fix to the vue components.

@marcoambrosini
Copy link
Member Author

But isn't this bold title version a talk only feature? Without changing that there's no need for this fix as you pointed out :)

@marcoambrosini
Copy link
Member Author

But in general yes, there are a bunch of v-deep around and after 18 I'm going to forward the changes to the vue library

@nickvergessen
Copy link
Member

See #2589 (comment)

@skjnldsv
Copy link
Member

But isn't this bold title version a talk only feature?

Has this been validated by Jan? Why do we have bold title here?

@nickvergessen
Copy link
Member

Its h2, its always bold

@skjnldsv
Copy link
Member

Then it's an issue I think
cc @jancborchardt :)

@nickvergessen
Copy link
Member

Well its the headline of the sidebar, exactly what it should be?

@jancborchardt
Copy link
Member

We did talk about making it bold as it helps people see what’s the focus here. It’s intended to be bold. :)

@skjnldsv
Copy link
Member

Thanks a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Title in sidebar is not properly aligned
4 participants