Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Cleanup headings

Chocobozzz675bb86cf62b
diff --git a/client/src/app/hotkeys/hotkeys-cheat-sheet.component.html b/client/src/app/hotkeys/hotkeys-cheat-sheet.component.html
index 23ac0f241b..5ad7687ceb 100644
--- a/client/src/app/hotkeys/hotkeys-cheat-sheet.component.html
+++ b/client/src/app/hotkeys/hotkeys-cheat-sheet.component.html
@@ -1,6 +1,6 @@
<div class="cfp-hotkeys-container fade" [ngClass]="{'in': helpVisible}">
<div class="cfp-hotkeys">
- <h1 class="cfp-hotkeys-title">{{ title() }}</h1>
+ <h2 class="cfp-hotkeys-title">{{ title() }}</h2>
<div class="d-flex justify-content-center m-3">
<my-peertube-checkbox
diff --git a/client/src/app/shared/shared-forms/advanced-input-filter.component.html b/client/src/app/shared/shared-forms/advanced-input-filter.component.html
index d3babc6a31..7d5f3bd242 100644
--- a/client/src/app/shared/shared-forms/advanced-input-filter.component.html
+++ b/client/src/app/shared/shared-forms/advanced-input-filter.component.html
@@ -6,7 +6,7 @@
<div role="menu" ngbDropdownMenu>
<ng-container *ngFor="let group of filters()">
- <h6 class="dropdown-header">{{ group.title }}</h6>
+ <div class="dropdown-header">{{ group.title }}</div>
<button *ngFor="let filter of group.children" (click)="onFilterClick(filter)" class="dropdown-item">
<my-global-icon [ngClass]="{ 'no-visible': !isFilterEnabled(filter) }" iconName="tick"></my-global-icon>
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html
index b368ef67a8..9649e018b7 100644
--- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html
+++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html
@@ -92,9 +92,9 @@
<ng-container *ngTemplateOutlet="templateActionLabel; context:{ $implicit: action }"></ng-container>
</span>
} @else if (areActionsDisplayed(actions, entry())) {
- <h6 [ngClass]="{ 'with-icon': !!action.iconName || !!action.actorAvatar }" class="dropdown-header" [title]="action.title || ''">
+ <div [ngClass]="{ 'with-icon': !!action.iconName || !!action.actorAvatar }" class="dropdown-header" [title]="action.title || ''">
<ng-container *ngTemplateOutlet="templateActionLabel; context:{ $implicit: action }"></ng-container>
- </h6>
+ </div>
}
}
</div>
diff --git a/client/src/app/shared/shared-user-subscription/subscribe-button.component.html b/client/src/app/shared/shared-user-subscription/subscribe-button.component.html
index 38c85896e7..6d7008575f 100644
--- a/client/src/app/shared/shared-user-subscription/subscribe-button.component.html
+++ b/client/src/app/shared/shared-user-subscription/subscribe-button.component.html
@@ -43,7 +43,7 @@
<div class="dropdown-menu" ngbDropdownMenu>
- <h6 class="dropdown-header" i18n>Using an ActivityPub account</h6>
+ <div class="dropdown-header" i18n>Using an ActivityPub account</div>
<button type="button" class="dropdown-item" (click)="subscribe()">
@if (isUserLoggedIn()) {
@@ -60,7 +60,7 @@
<div class="dropdown-divider"></div>
- <h6 class="dropdown-header" i18n>Using a syndication feed</h6>
+ <div class="dropdown-header" i18n>Using a syndication feed</div>
<a *ngIf="podcastFeedUri" [href]="podcastFeedUri" target="_blank" class="dropdown-item" i18n>Subscribe via Podcast Feed</a>
<a [href]="rssUri" target="_blank" class="dropdown-item" i18n>Subscribe via RSS</a>
diff --git a/client/src/index.html b/client/src/index.html
index 7600b6e937..b16c49f02c 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -27,7 +27,6 @@
<body id="custom-css">
<noscript class="alert alert-light">
- <h1 class="alert-heading">PeerTube</h1>
<h2 class="mb-3">JavaScript required</h2>
<p>It seems JavaScript is either blocked or disabled in your web browser. We totally get that. However, this page will not work without it.</p>
@@ -45,7 +44,6 @@
</noscript>
<div id="incompatible-browser" class="alert alert-light" role="alert" style="display: none">
- <h1 class="alert-heading">PeerTube</h1>
<h2 class="mb-3">Incompatible browser</h2>
<p>We are sorry but it seems that PeerTube is not compatible with your web browser.</p>