mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
doc-browser: fix md scaling + download hotkey
This commit is contained in:
parent
853ae6386c
commit
dbdb9574b1
|
@ -798,6 +798,7 @@ html.y #path a:hover {
|
|||
.logue:empty {
|
||||
display: none;
|
||||
}
|
||||
#doc>iframe,
|
||||
.logue>iframe {
|
||||
background: var(--bgg);
|
||||
border: 1px solid var(--bgg);
|
||||
|
@ -808,6 +809,7 @@ html.y #path a:hover {
|
|||
width: 100%;
|
||||
height: 0;
|
||||
}
|
||||
#doc>iframe.focus,
|
||||
.logue>iframe.focus {
|
||||
box-shadow: 0 0 .1em .1em var(--a);
|
||||
}
|
||||
|
|
|
@ -4536,7 +4536,9 @@ document.onkeydown = function (e) {
|
|||
return seek_au_rel(n) || true;
|
||||
|
||||
if (k == 'KeyY')
|
||||
return msel.getsel().length ? ebi('seldl').click() : dl_song();
|
||||
return msel.getsel().length ? ebi('seldl').click() :
|
||||
showfile.active() ? ebi('dldoc').click() :
|
||||
dl_song();
|
||||
|
||||
n = k == 'KeyI' ? -1 : k == 'KeyK' ? 1 : 0;
|
||||
if (n !== 0)
|
||||
|
|
Loading…
Reference in a new issue