Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(demos): Too much space between toolbar title and left icon. #2174

Merged
merged 24 commits into from
Feb 14, 2018
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2c21d8b
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
35fcd55
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
83f71f3
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
a269519
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
9f862de
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
e113916
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
fa66363
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
de14f7e
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
e23fc01
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 1, 2018
0b33ac1
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
777dd7d
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
a779f84
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
e16ac8b
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
2e6f40e
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
8b62459
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
c57b06b
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
00ba0b3
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
98e30f2
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
6ab4989
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
ff9d773
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
8461d65
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
32b4c3d
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
9a82489
fix(demos): Too much space between toolbar title and left icon.
touficbatache Feb 2, 2018
d12bcbb
Merge branch 'master' into patch-1
williamernest Feb 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions demos/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Copy link
Contributor

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.

Copy link
Contributor Author

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 😃

Copy link
Contributor

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 :)

<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Buttons</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Card</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Checkbox</span>
</section>
</div>
Expand Down
1 change: 0 additions & 1 deletion demos/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ fieldset {

.catalog-logo,
.catalog-back {
padding-right: 24px;
Copy link
Contributor

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.

Copy link
Contributor Author

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...

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, not needed anymore.

Copy link
Contributor Author

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 😃

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, no longer needed.

color: #eee;
text-decoration: none;
}
Expand Down
4 changes: 1 addition & 3 deletions demos/dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Dialog</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/drawer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
<div class="mdc-toolbar mdc-toolbar--fixed">
<div class="mdc-toolbar__row">
<section class="mdc-toolbar__section mdc-toolbar__section--align-start">
<span>
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Drawer</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/elevation.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Elevation</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/fab.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Floating Action Button</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/grid-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Grid List</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/icon-toggle.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Icon Toggle</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/layout-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Layout Grid</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/linear-progress.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Linear Progress Indicators</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">List</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@
<header class="mdc-toolbar mdc-toolbar--fixed demo-header-toolbar">
<div class="mdc-toolbar__row">
<section class="mdc-toolbar__section mdc-toolbar__section--align-start">
<span class="catalog-back">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Menu</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/radio.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Radio</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/ripple.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Ripple</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Select</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Slider</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/switch.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
<header class="mdc-toolbar mdc-toolbar--fixed demo-header-toolbar">
<div class="mdc-toolbar__row">
<section class="mdc-toolbar__section mdc-toolbar__section--align-start">
<span class="catalog-back">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Switch</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@
<header class="mdc-toolbar mdc-toolbar--fixed demo-header-toolbar">
<div class="mdc-toolbar__row">
<section class="mdc-toolbar__section mdc-toolbar__section--align-start">
<span class="catalog-back">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Tabs</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/text-field.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Text Field</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/toolbar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@
<header class="mdc-toolbar mdc-toolbar--fixed demo-header-toolbar">
<div class="mdc-toolbar__row">
<section class="mdc-toolbar__section mdc-toolbar__section--align-start">
<span class="catalog-back">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Toolbar</span>
</section>
</div>
Expand Down
4 changes: 1 addition & 3 deletions demos/typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,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">
<a href="/" class="mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
</span>
<a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
<span class="mdc-toolbar__title catalog-title">Typography</span>
</section>
</div>
Expand Down