diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.scss b/client/src/app/videos/+video-watch/modal/video-share.component.scss
index 11cbb8c0b..091d4dc3b 100644
--- a/client/src/app/videos/+video-watch/modal/video-share.component.scss
+++ b/client/src/app/videos/+video-watch/modal/video-share.component.scss
@@ -21,7 +21,7 @@ my-input-readonly-copy {
text-align: center;
}
-.tab-content {
+.nav-content {
margin-top: 30px;
display: flex;
justify-content: center;
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.ts b/client/src/app/videos/+video-watch/modal/video-share.component.ts
index 5109bcd11..56e7d70dd 100644
--- a/client/src/app/videos/+video-watch/modal/video-share.component.ts
+++ b/client/src/app/videos/+video-watch/modal/video-share.component.ts
@@ -1,7 +1,7 @@
import { Component, ElementRef, Input, ViewChild } from '@angular/core'
import { VideoDetails } from '../../../shared/video/video-details.model'
import { buildVideoEmbed, buildVideoLink } from '../../../../assets/player/utils'
-import { NgbModal, NgbTabChangeEvent } from '@ng-bootstrap/ng-bootstrap'
+import { NgbModal, NgbNavChangeEvent, NgbTabChangeEvent } from '@ng-bootstrap/ng-bootstrap'
import { VideoCaption } from '@shared/models'
import { VideoPlaylist } from '@app/shared/video-playlist/video-playlist.model'
@@ -35,7 +35,7 @@ export class VideoShareComponent {
@Input() videoCaptions: VideoCaption[] = []
@Input() playlist: VideoPlaylist = null
- activeId: 'url' | 'qrcode' | 'embed'
+ activeId: 'url' | 'qrcode' | 'embed' = 'url'
customizations: Customizations
isAdvancedCustomizationCollapsed = true
includeVideoInPlaylist = false
@@ -101,10 +101,6 @@ export class VideoShareComponent {
return window.location.protocol === 'http:'
}
- onTabChange (event: NgbTabChangeEvent) {
- this.activeId = event.nextId as any
- }
-
isInEmbedTab () {
return this.activeId === 'embed'
}
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss
index 5c1ce1028..297f1f18a 100644
--- a/client/src/sass/bootstrap.scss
+++ b/client/src/sass/bootstrap.scss
@@ -50,7 +50,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
background-color: var(--mainHoverColor);
opacity: .9;
}
-
+
&::after {
display: none;
}
@@ -158,18 +158,12 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
}
}
-ngb-tabset {
+.nav-tabs {
.nav-link {
- &, & a {
- @include disable-default-a-behaviour;
+ @include disable-default-a-behaviour;
- color: var(--mainForegroundColor) !important;
- }
- }
-
- .nav-pills .nav-link.active {
- color: #000 !important;
+ color: var(--mainForegroundColor) !important;
}
}