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

Commit 4f59a28

Browse files
gkalpakajoslin
authored andcommitted
chore(): small docs & layout fixes
Closes #765
1 parent 8b44052 commit 4f59a28

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/config/template/index.template.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1 class="md-toolbar-tools" flex layout="column">
6666
<div class="md-toolbar-tools" ng-click="openMenu()" flex layout="column">
6767

6868
<div layout="row" flex>
69-
<button class="menu-icon" show hide-gt-md aria-label="Toggle Menu" style="position: relative; top: -5px;">
69+
<button class="menu-icon" hide-gt-md aria-label="Toggle Menu" style="position: relative; top: -5px;">
7070
<md-icon icon="img/icons/ic_menu_24px.svg"></md-icon>
7171
</button>
7272
<div style="line-height: 28px;" hide-sm ng-if="menu.currentSection.name">{{menu.currentSection.name}}</div>
@@ -77,15 +77,15 @@ <h1 class="md-toolbar-tools" flex layout="column">
7777
<div flex></div>
7878

7979
<div ng-repeat="doc in currentComponent.docs">
80-
<md-button ng-href="#{{doc.url}}"
80+
<md-button ng-href="#{{doc.url}}"
8181
ng-class="{hide: path().indexOf('demo') == -1}"
8282
aria-label="{{ doc | humanizeDoc }}">
8383
{{doc | humanizeDoc | directiveBrackets}}
8484
</md-button>
8585
</div>
8686

8787
<md-button ng-class="{hide: !currentDoc}"
88-
ng-href="#/demo/{{currentComponent.name}}"
88+
ng-href="#/demo/{{currentComponent.name}}"
8989
style="position: relative; padding-left: 30px; margin-right: 15px;">
9090
<md-icon icon="/img/icons/ic_play_arrow_24px.svg" style="
9191
height: 28px;
@@ -96,20 +96,20 @@ <h1 class="md-toolbar-tools" flex layout="column">
9696
</md-button>
9797

9898
<md-button ng-class="{hide: !currentDoc}"
99-
ng-href="{{currentDoc.githubUrl}}"
99+
ng-href="{{currentDoc.githubUrl}}"
100100
style="position: relative; padding-left: 30px; margin-right: 15px;">
101101
<md-icon icon="/img/icons/ic_launch_24px.svg" style="
102102
height: 28;
103103
position: absolute;
104104
left: 0px;
105105
top: -3px;"></md-icon>
106106
<span hide-sm>View on Github</span>
107-
<span hide show-sm>Source</span>
107+
<span hide-gt-sm>Source</span>
108108
</md-button>
109109

110110
<md-button ng-class="{hide: !currentDoc}"
111-
ng-href="{{currentDoc.githubEditUrl}}"
112-
hide-sm
111+
ng-href="{{currentDoc.githubEditUrl}}"
112+
hide-sm
113113
style="position: relative; padding-left: 30px;">
114114
<md-icon icon="/img/icons/ic_launch_24px.svg" style="
115115
height: 28;

src/core/style/layout.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
flex-direction: row;
2323
}
2424

25-
[layout-margin], /* DEPRECATED */
26-
[layout-margin] > [flex], /* DEPRECATED */
25+
[layout-padding], /* DEPRECATED */
26+
[layout-padding] > [flex], /* DEPRECATED */
2727
[layout-margin],
2828
[layout-margin] > [flex] {
2929
margin: $layout-gutter-width / 2;
3030
}
3131

32-
[layout-margin] + [layout-margin], /* DEPRECATED */
32+
[layout-padding] + [layout-padding], /* DEPRECATED */
3333
[layout-margin] + [layout-margin] {
3434
margin-top: -($layout-gutter-width / 2);
3535
}

0 commit comments

Comments
 (0)