Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Polish quick toolbar #2151
Conversation
jasmussen
self-assigned this
Aug 2, 2017
jasmussen
requested review from youknowriad, mtias, and iseulde
Aug 2, 2017
jasmussen
added a commit
that referenced
this pull request
Aug 2, 2017
|
|
jasmussen |
2287aaa
|
jasmussen
referenced this pull request
Aug 2, 2017
Merged
Add responsive CSS to the table out of the box #2152
codecov
bot
commented
Aug 2, 2017
•
Codecov Report
@@ Coverage Diff @@
## master #2151 +/- ##
==========================================
- Coverage 20.33% 20.28% -0.05%
==========================================
Files 136 136
Lines 4274 4283 +9
Branches 724 728 +4
==========================================
Hits 869 869
- Misses 2872 2877 +5
- Partials 533 537 +4
Continue to review full report at Codecov.
|
|
Reverted the table CSS, moved to a separate PR, #2152, and rebased. |
jasmussen
added
[Status] In Progress
[Type] Question
labels
Aug 2, 2017
jasmussen
changed the title from
Polish table responsiveness and quick toolbar to Polish quick toolbar
Aug 2, 2017
jasmussen
referenced this pull request
Aug 2, 2017
Open
Consider moving cog and trash to quick toolbar #2156
| - label={ __( 'Toggle extra controls' ) } | ||
| - icon="ellipsis" | ||
| - /> | ||
| + <div className="editor-visual-editor__group"> |
iseulde
Aug 2, 2017
Member
Do we need an extra div for this? From the screenshot it seems we can just remove some margins? Or am I missing something?
jasmussen
Aug 2, 2017
Collaborator
I moved the drop shadow to a parent container, and that container has to wrap inline-block, and not be full width like the block controls container is.
But I agree it's not super elegant. I'll think about how this can be improved.
| @@ -1,7 +1,7 @@ | ||
| .components-toolbar { | ||
| margin: 0; | ||
| border: 1px solid $light-gray-500; | ||
| - box-shadow: $shadow-popover; | ||
| + //box-shadow: $shadow-toolbar; |
mtias
added a commit
that referenced
this pull request
Aug 4, 2017
|
|
jasmussen + mtias |
d95faa5
|
This was referenced Aug 7, 2017
jasmussen
added a commit
that referenced
this pull request
Aug 11, 2017
|
|
jasmussen |
595efd8
|
|
Closing this in favor of #2359. This was too hard to rebase. |
jasmussen commentedAug 2, 2017
•
edited
This PR bunches together all the quick toolbar groups, and softens the drop shadow:
I liked the separate groups before. It made it very clear, for example, that alignments were a group where if you toggled one, the other was untoggled. But at the same time this benefit may largely be theoretical, and they are still grouped — separated by a vertical line. By grouping them together, aside from getting a little more space, we simplify the visual silhuette, which has been brought up a number of times.
Thoughts?
Edit: reverted a table aspect of this PR and made it separate.