mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	added meta viewport to exported HTMLs, #1289
This commit is contained in:
		
							parent
							
								
									a7f510783d
								
							
						
					
					
						commit
						384a9474c0
					
				| @ -229,6 +229,7 @@ function exportToZip(taskContext, branch, format, res) { | |||||||
|                 content = `<html>
 |                 content = `<html>
 | ||||||
| <head> | <head> | ||||||
|     <meta charset="utf-8"> |     <meta charset="utf-8"> | ||||||
|  |     <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||||
|     <link rel="stylesheet" href="${cssUrl}"> |     <link rel="stylesheet" href="${cssUrl}"> | ||||||
| </head> | </head> | ||||||
| <body> | <body> | ||||||
| @ -356,6 +357,7 @@ ${content} | |||||||
| <html> | <html> | ||||||
| <head> | <head> | ||||||
|     <meta charset="utf-8"> |     <meta charset="utf-8"> | ||||||
|  |     <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||||
| </head> | </head> | ||||||
| <frameset cols="25%,75%"> | <frameset cols="25%,75%"> | ||||||
|     <frame name="navigation" src="navigation.html"> |     <frame name="navigation" src="navigation.html"> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam