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 { | .logue:empty { | ||||||
| 	display: none; | 	display: none; | ||||||
| } | } | ||||||
|  | #doc>iframe, | ||||||
| .logue>iframe { | .logue>iframe { | ||||||
| 	background: var(--bgg); | 	background: var(--bgg); | ||||||
| 	border: 1px solid var(--bgg); | 	border: 1px solid var(--bgg); | ||||||
| @ -808,6 +809,7 @@ html.y #path a:hover { | |||||||
| 	width: 100%; | 	width: 100%; | ||||||
| 	height: 0; | 	height: 0; | ||||||
| } | } | ||||||
|  | #doc>iframe.focus, | ||||||
| .logue>iframe.focus { | .logue>iframe.focus { | ||||||
| 	box-shadow: 0 0 .1em .1em var(--a); | 	box-shadow: 0 0 .1em .1em var(--a); | ||||||
| } | } | ||||||
|  | |||||||
| @ -4536,7 +4536,9 @@ document.onkeydown = function (e) { | |||||||
| 		return seek_au_rel(n) || true; | 		return seek_au_rel(n) || true; | ||||||
| 
 | 
 | ||||||
| 	if (k == 'KeyY') | 	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; | 	n = k == 'KeyI' ? -1 : k == 'KeyK' ? 1 : 0; | ||||||
| 	if (n !== 0) | 	if (n !== 0) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ed
						ed