aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-08 17:33:40 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-03-10 16:23:40 +0100
commit482fa503e545e00252e25eee7b3e0f7d421cf9d4 (patch)
tree4aa27a683656ced173fe48b914cfd7d65b289717 /client/src/app/shared
parent3b20bdd6dc7402b0723e038c57f0606131e20e54 (diff)
downloadPeerTube-482fa503e545e00252e25eee7b3e0f7d421cf9d4.tar.gz
PeerTube-482fa503e545e00252e25eee7b3e0f7d421cf9d4.tar.zst
PeerTube-482fa503e545e00252e25eee7b3e0f7d421cf9d4.zip
Use grid to organise settings in admin, my-account
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/forms/markdown-textarea.component.scss2
-rw-r--r--client/src/app/shared/menu/top-menu-dropdown.component.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/forms/markdown-textarea.component.scss b/client/src/app/shared/forms/markdown-textarea.component.scss
index eacaf36a2..bd02343de 100644
--- a/client/src/app/shared/forms/markdown-textarea.component.scss
+++ b/client/src/app/shared/forms/markdown-textarea.component.scss
@@ -22,6 +22,8 @@
22 align-items: center; 22 align-items: center;
23 height: 30px !important; 23 height: 30px !important;
24 padding: 0 15px !important; 24 padding: 0 15px !important;
25 font-size: 85% !important;
26 opacity: .7;
25 } 27 }
26 28
27 .tab-content { 29 .tab-content {
diff --git a/client/src/app/shared/menu/top-menu-dropdown.component.html b/client/src/app/shared/menu/top-menu-dropdown.component.html
index 35511ee62..3087b2e98 100644
--- a/client/src/app/shared/menu/top-menu-dropdown.component.html
+++ b/client/src/app/shared/menu/top-menu-dropdown.component.html
@@ -1,12 +1,12 @@
1<div class="sub-menu"> 1<div class="sub-menu">
2 <ng-container *ngFor="let menuEntry of menuEntries"> 2 <ng-container *ngFor="let menuEntry of menuEntries">
3 3
4 <a *ngIf="menuEntry.routerLink" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page">{{ menuEntry.label }}</a> 4 <a *ngIf="menuEntry.routerLink" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page title-page-settings">{{ menuEntry.label }}</a>
5 5
6 <div *ngIf="!menuEntry.routerLink" ngbDropdown [container]="container" class="parent-entry" #dropdown="ngbDropdown" (mouseleave)="closeDropdownIfHovered(dropdown)"> 6 <div *ngIf="!menuEntry.routerLink" ngbDropdown [container]="container" class="parent-entry" #dropdown="ngbDropdown" (mouseleave)="closeDropdownIfHovered(dropdown)">
7 <span 7 <span
8 (mouseenter)="openDropdownOnHover(dropdown)" [ngClass]="{ active: !!suffixLabels[menuEntry.label] }" ngbDropdownAnchor 8 (mouseenter)="openDropdownOnHover(dropdown)" [ngClass]="{ active: !!suffixLabels[menuEntry.label] }" ngbDropdownAnchor
9 (click)="dropdownAnchorClicked(dropdown)" role="button" class="title-page" 9 (click)="dropdownAnchorClicked(dropdown)" role="button" class="title-page title-page-settings"
10 > 10 >
11 <ng-container i18n>{{ menuEntry.label }}</ng-container> 11 <ng-container i18n>{{ menuEntry.label }}</ng-container>
12 <ng-container *ngIf="!!suffixLabels[menuEntry.label]"> - {{ suffixLabels[menuEntry.label] }}</ng-container> 12 <ng-container *ngIf="!!suffixLabels[menuEntry.label]"> - {{ suffixLabels[menuEntry.label] }}</ng-container>