make left menu show the scrollbar on hover/focus
add hotkey to the overview page
This commit is contained in:
parent
c28beaea83
commit
a54991da42
|
@ -132,6 +132,10 @@ export class AppComponent implements OnInit {
|
||||||
this.router.navigate([ '/videos/subscriptions' ])
|
this.router.navigate([ '/videos/subscriptions' ])
|
||||||
return false
|
return false
|
||||||
}, undefined, 'Go to the subscriptions videos page'),
|
}, undefined, 'Go to the subscriptions videos page'),
|
||||||
|
new Hotkey('g+o', (event: KeyboardEvent): boolean => {
|
||||||
|
this.router.navigate([ '/videos/overview' ])
|
||||||
|
return false
|
||||||
|
}, undefined, 'Go to the videos overview page'),
|
||||||
new Hotkey('g+t', (event: KeyboardEvent): boolean => {
|
new Hotkey('g+t', (event: KeyboardEvent): boolean => {
|
||||||
this.router.navigate([ '/videos/trending' ])
|
this.router.navigate([ '/videos/trending' ])
|
||||||
return false
|
return false
|
||||||
|
|
|
@ -18,12 +18,16 @@ menu {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
color: $menu-color;
|
color: $menu-color;
|
||||||
overflow-y: auto;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
&:focus, &:hover {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.top-menu {
|
.top-menu {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
width: $menu-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logged-in-block {
|
.logged-in-block {
|
||||||
|
|
|
@ -208,7 +208,7 @@
|
||||||
<div class="privacy-concerns-text">
|
<div class="privacy-concerns-text">
|
||||||
<strong i18n>Friendly Reminder: </strong>
|
<strong i18n>Friendly Reminder: </strong>
|
||||||
<ng-container i18n>
|
<ng-container i18n>
|
||||||
the sharing system used by this video implies that some technical information about your system (such as a public IP address) can be sent to other peers.
|
the sharing system used for this video implies that some technical information about your system (such as a public IP address) can be sent to other peers.
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<a i18n i18n-title title="Get more information" target="_blank" rel="noopener noreferrer" href="/about/peertube">More information</a>
|
<a i18n i18n-title title="Get more information" target="_blank" rel="noopener noreferrer" href="/about/peertube">More information</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue