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

Commit 22d7739

Browse files
Splaktarjosephperrott
authored andcommitted
docs(menu): fix docs nav menu margin (#11636)
1 parent 4148550 commit 22d7739

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/app/css/style.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,16 @@ code:not(.highlight) {
264264
max-width: 100%;
265265
overflow-x: hidden;
266266
}
267-
.docs-menu li {
267+
ul.docs-menu li {
268268
margin: 0;
269269
}
270270
.docs-menu > li:nth-child(1) {
271271
border-top: none;
272272
}
273273
.md-whiteframe-glow-z1 {
274-
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.14),
275-
0px 0px 2px 2px rgba(0, 0, 0, 0.098),
276-
0px 0px 5px 1px rgba(0, 0, 0, 0.084);
274+
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.14),
275+
0 0 2px 2px rgba(0, 0, 0, 0.098),
276+
0 0 5px 1px rgba(0, 0, 0, 0.084);
277277
}
278278
.docs-menu > li {
279279
border-bottom: 1px solid #267ED5;
@@ -289,7 +289,7 @@ code:not(.highlight) {
289289
margin: 0;
290290
max-height: 40px;
291291
overflow: hidden;
292-
padding: 0px 16px;
292+
padding: 0 16px;
293293
text-align: left;
294294
text-decoration: none;
295295
white-space: normal;
@@ -312,7 +312,6 @@ body[dir=rtl] .docs-menu .md-button {
312312
}
313313

314314
.docs-menu md-select {
315-
316315
/* Override md-select margins. With margins the menu will look incorrect and causes mobile list
317316
to not be scrollable.
318317
*/

src/components/input/input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function labelDirective() {
267267
*
268268
* You can also disable this functionality manually by adding the `md-auto-hide="false"` expression
269269
* to the `ng-messages` container. This may be helpful if you always want to see the error messages
270-
* or if you are building your own visibilty directive.
270+
* or if you are building your own visibility directive.
271271
*
272272
* _<b>Note:</b> The `md-auto-hide` attribute is a static string that is only checked upon
273273
* initialization of the `ng-messages` directive to see if it equals the string `false`._

0 commit comments

Comments
 (0)