Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Mar 22, 2018

Fix nextcloud/gallery#413
With nextcloud/gallery#414

@nextcloud/designers

}

#controls {
#controls .actions {
Copy link
Member

Choose a reason for hiding this comment

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

.actions is also used by the files app "add" button and causes it to be not square anymore.
bildschirmfoto vom 2018-03-22 12-01-14

Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

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

Naive question, but would not removing > from > .button, button {, without touching anything else in the server nor in the gallery, fix the problem? I mean, why are those rules applied only to direct children instead of descendants (like they were before 966ceca)?

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv force-pushed the fix-gallery-selectors branch from fc5c0f1 to 25ea0e6 Compare March 22, 2018 12:01
@codecov
Copy link

codecov bot commented Mar 22, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@6eb2088). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8936   +/-   ##
=========================================
  Coverage          ?   51.79%           
  Complexity        ?    25332           
=========================================
  Files             ?     1603           
  Lines             ?    95197           
  Branches          ?     1388           
=========================================
  Hits              ?    49304           
  Misses            ?    45893           
  Partials          ?        0

@skjnldsv
Copy link
Member Author

@danxuliu the issue with the control bar is we have a lot of plugins registering their buttons here, and it's absolutely not standardised. So having a popovermenu here was conflicting with this rule, that's why I added the direct child selector to avoid the selector to go down the entire dom structure :)

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Tested and works 👍

@MorrisJobke MorrisJobke merged commit 7892a0e into master Mar 23, 2018
@MorrisJobke MorrisJobke deleted the fix-gallery-selectors branch March 23, 2018 07:16
@MorrisJobke MorrisJobke added this to the Nextcloud 14 milestone Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Design, UI, UX, etc. regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants