
committed by
Alex Rickabaugh

parent
80967ce82c
commit
50cf2ac6d8
@ -23,7 +23,7 @@
|
||||
|
||||
<mat-sidenav-container class="sidenav-container mat-drawer-container mat-sidenav-container" role="main">
|
||||
<mat-sidenav-content class="mat-drawer-content mat-sidenav-content">
|
||||
<section class="sidenav-content" role="content">
|
||||
<section class="sidenav-content" role="article">
|
||||
<aio-doc-viewer>
|
||||
<div class="content">
|
||||
<div class="nf-container l-flex-wrap flex-center">
|
||||
|
@ -52,7 +52,7 @@
|
||||
</div>
|
||||
</mat-sidenav>
|
||||
|
||||
<section class="sidenav-content" [id]="pageId" role="content">
|
||||
<main class="sidenav-content" [id]="pageId" role="main">
|
||||
<aio-mode-banner [mode]="deployment.mode" [version]="versionInfo"></aio-mode-banner>
|
||||
<aio-doc-viewer [class.no-animations]="isStarting"
|
||||
[doc]="currentDocument"
|
||||
@ -62,7 +62,7 @@
|
||||
(docRendered)="onDocRendered()">
|
||||
</aio-doc-viewer>
|
||||
<aio-dt [on]="dtOn" [(doc)]="currentDocument"></aio-dt>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</mat-sidenav-container>
|
||||
|
||||
|
@ -1071,7 +1071,7 @@ describe('AppComponent', () => {
|
||||
|
||||
it('should set the id of the doc viewer container based on the current doc', () => {
|
||||
initializeTest(false);
|
||||
const container = fixture.debugElement.query(By.css('section.sidenav-content'));
|
||||
const container = fixture.debugElement.query(By.css('main.sidenav-content'));
|
||||
|
||||
navigateTo('guide/pipes');
|
||||
expect(component.pageId).toEqual('guide-pipes');
|
||||
@ -1088,7 +1088,7 @@ describe('AppComponent', () => {
|
||||
|
||||
it('should not be affected by changes to the query', () => {
|
||||
initializeTest(false);
|
||||
const container = fixture.debugElement.query(By.css('section.sidenav-content'));
|
||||
const container = fixture.debugElement.query(By.css('main.sidenav-content'));
|
||||
|
||||
navigateTo('guide/pipes');
|
||||
navigateTo('guide/other?search=http');
|
||||
|
@ -46,7 +46,7 @@ export interface Announcement {
|
||||
template: `
|
||||
<div class="homepage-container" *ngIf="announcement">
|
||||
<div class="announcement-bar">
|
||||
<img [src]="announcement.imageUrl">
|
||||
<img [src]="announcement.imageUrl" alt="">
|
||||
<p [innerHTML]="announcement.message"></p>
|
||||
<a class="button" [href]="announcement.linkUrl">Learn More</a>
|
||||
</div>
|
||||
|
@ -93,7 +93,7 @@
|
||||
<div class="background-sky hero"></div>
|
||||
<section id="intro" style="text-shadow: 1px 1px #1976d2;">
|
||||
<div class="hero-logo">
|
||||
<img src="assets/images/logos/angular/angular.svg" width="250" height="250">
|
||||
<img src="assets/images/logos/angular/angular.svg" width="250" height="250" alt="Angular">
|
||||
</div>
|
||||
<div class="homepage-container">
|
||||
<div class="hero-headline">One framework.<br>Mobile & desktop.</div>
|
||||
|
@ -268,13 +268,13 @@ section#intro {
|
||||
|
||||
aio-shell {
|
||||
&.page-resources, &.page-events, &.page-features, &.page-presskit, &.page-contribute {
|
||||
section {
|
||||
main {
|
||||
padding: 0rem 0rem 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.page-home {
|
||||
section {
|
||||
main {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ aio-notification {
|
||||
}
|
||||
|
||||
&.page-home, &.page-resources, &.page-events, &.page-features, &.page-presskit, &.page-contribute {
|
||||
section {
|
||||
main {
|
||||
padding-top: $notificationHeight;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user