-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix(demos): Too much space between toolbar title and left icon. #2174
fix(demos): Too much space between toolbar title and left icon. #2174
Conversation
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Remove unnecessary styles and make demo page look better.
Codecov Report
@@ Coverage Diff @@
## master #2174 +/- ##
=======================================
Coverage 99.13% 99.13%
=======================================
Files 90 90
Lines 3830 3830
Branches 496 496
=======================================
Hits 3797 3797
Misses 33 33 Continue to review full report at Codecov.
|
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.
I don't think we want to remove that element/class from each demo page. I think the same thing can be acheived by removing the padding-right from the catalog-back class and adding it back to the catalog-logo class in common.scss line 50
I didn't remove it @williamernest take a look at the code. |
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.
The span was removed from the demo pages.
@@ -79,7 +79,6 @@ fieldset { | |||
|
|||
.catalog-logo, | |||
.catalog-back { | |||
padding-right: 24px; |
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.
We should keep the padding-right
property for the catalog-logo class.
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.
I don't think we should... There is too much space between the logo and the title...
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.
Ah wait, there is already a padding-right:24px;
applied to the remaining class
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.
Yup, not needed anymore.
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.
That's why I removed it 😃
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.
Yup, no longer needed.
@@ -74,9 +74,7 @@ | |||
<header class="mdc-toolbar mdc-toolbar--fixed"> | |||
<div class="mdc-toolbar__row"> | |||
<section class="mdc-toolbar__section mdc-toolbar__section--align-start"> | |||
<span class="catalog-back"> |
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.
We shouldn't be removing this span to change the padding-right
.
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.
Why not removing the span
? I kept the class 😃
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.
I guess it's not needed anymore :)
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.
LGTM. Thanks!
@@ -74,9 +74,7 @@ | |||
<header class="mdc-toolbar mdc-toolbar--fixed"> | |||
<div class="mdc-toolbar__row"> | |||
<section class="mdc-toolbar__section mdc-toolbar__section--align-start"> | |||
<span class="catalog-back"> |
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.
I guess it's not needed anymore :)
@@ -79,7 +79,6 @@ fieldset { | |||
|
|||
.catalog-logo, | |||
.catalog-back { | |||
padding-right: 24px; |
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.
Yup, no longer needed.
There's too much space between the toolbar title and left icon. This PR fixes it.