Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 12f2574

Browse files
committed
chore(docs): update layout attrs to new format
1 parent d4b4480 commit 12f2574

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/config/template/index.template.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ <h1 class="md-toolbar-tools" flex layout="column">
6565
<md-toolbar md-theme-levels="{ backgroundColor: 900 }" layout="column">
6666
<div class="md-toolbar-tools" ng-click="openMenu()" flex layout="column">
6767
<div layout="row" flex>
68-
<button class="menu-icon" hide show-phone show-tablet aria-label="Toggle Menu" style="position: relative; top: -5px;">
68+
<button class="menu-icon" show hide-gt-md aria-label="Toggle Menu" style="position: relative; top: -5px;">
6969
<md-icon icon="img/icons/ic_menu_24px.svg"></md-icon>
7070
</button>
71-
<div style="line-height: 28px;" hide-phone ng-if="menu.currentSection.name">{{menu.currentSection.name}}</div>
71+
<div style="line-height: 28px;" hide-sm ng-if="menu.currentSection.name">{{menu.currentSection.name}}</div>
7272
<span layout="column" layout-align="center center" class="menu-separator-icon" ng-if="menu.currentPage" style="padding: 0 10px;">
73-
<img style="height: 16px;" src="img/docArrow.png" alt="" aria-hidden="true" hide-phone>
73+
<img style="height: 16px;" src="img/docArrow.png" alt="" aria-hidden="true" hide-sm>
7474
</span>
7575
<div style="line-height: 28px;" ng-bind="(menu.currentPage | humanizeDoc) || 'Angular Material'"></div>
7676
<div flex></div>
@@ -91,10 +91,10 @@ <h1 class="md-toolbar-tools" flex layout="column">
9191
position: absolute;
9292
left: 0px;
9393
top: -3px;"></md-icon>
94-
<span hide-phone>View on Github</span>
95-
<span hide show-phone>Source</span>
94+
<span hide-sm>View on Github</span>
95+
<span hide show-sm>Source</span>
9696
</md-button>
97-
<md-button ng-if="currentDoc" ng-href="{{currentDoc.githubEditUrl}}" hide-phone style="position: relative; padding-left: 30px;">
97+
<md-button ng-if="currentDoc" ng-href="{{currentDoc.githubEditUrl}}" hide-sm style="position: relative; padding-left: 30px;">
9898
<md-icon icon="/img/icons/ic_launch_24px.svg" style="
9999
height: 28;
100100
position: absolute;

src/core/style/layout.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
960 <= size <= 1200 Tablet-Landscape
99
1200 <= size PC
1010
*/
11-
11+
1212
[layout] {
1313
box-sizing: border-box;
1414
display: flex;
@@ -139,7 +139,7 @@
139139
}
140140
@media (min-width: $layout-breakpoint-lg) {
141141
@include hide-rules-for-name(gt-lg);
142-
@include layout-for-name(gt-lg);
142+
@include layout-for-name(gt-lg);
143143
@include flex-properties-for-name(gt-lg);
144144
}
145145

0 commit comments

Comments
 (0)