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

fix(styling): example tabs should not be styled #126

Merged
merged 1 commit into from
Mar 10, 2017
Merged
Changes from all commits
Commits
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
25 changes: 11 additions & 14 deletions src/app/pages/component-viewer/component-viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,21 @@ app-component-viewer {
margin: 16px;
}

md-tab {
margin: 30px;
// Direct chain is necessary to avoid styling tabs in the example viewer
& > .mat-tab-header {
border: none;
margin-bottom: 30px;

& > .mat-tab-label-container > .mat-tab-list > .mat-tab-labels > .mat-tab-label {
font-weight: 400;
margin: 0 10px;
min-width: 0;
padding: 0 5px;
}
}
}

.docs-example-source {
padding: 0 0 10px 30px;
min-height: 150px;
}

.mat-tab-header {
border: none;
margin-bottom: 30px;
}

.docs-component-viewer-tabbed-content .mat-tab-header .mat-tab-label {
font-weight: 400;
margin: 0 10px;
min-width: 0px;
padding: 0 5px;
}