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

Commit 1b29bb0

Browse files
willshowelljelbourn
authored andcommitted
Move example-source styles to the appropriate component (#229)
1 parent e7cd913 commit 1b29bb0

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/app/pages/component-viewer/_component-viewer-theme.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@
1616
}
1717

1818
}
19-
20-
.docs-example-source {
21-
border-bottom: 1px solid mat-color($foreground, divider);
22-
}
2319
}

src/app/pages/component-viewer/component-viewer.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,3 @@ app-component-viewer {
2626
.docs-component-viewer-content {
2727
min-height: 500px;
2828
}
29-
30-
.docs-example-source {
31-
padding: 0 0 10px 30px;
32-
min-height: 150px;
33-
}

src/app/shared/example-viewer/_example-viewer-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@
1616
color: mat-color($foreground, secondary-text);
1717
background: rgba(mat-color($foreground, secondary-text), .03);
1818
}
19+
20+
.docs-example-source {
21+
border-bottom: 1px solid mat-color($foreground, divider);
22+
}
1923
}
2024
}

src/app/shared/example-viewer/example-viewer.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
flex: 1 1 auto;
2121
}
2222

23+
.docs-example-source {
24+
padding: 0 0 10px 30px;
25+
min-height: 150px;
26+
}
27+
2328
.docs-example-viewer-body {
2429
padding: 30px;
2530
}

0 commit comments

Comments
 (0)