mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	chore(website): improve screenshot fit on mobile
This commit is contained in:
		| @@ -72,8 +72,7 @@ section.hero-section .title-section h1 { | |||||||
|     color: var(--foreground-color); |     color: var(--foreground-color); | ||||||
| } | } | ||||||
|  |  | ||||||
| section.hero-section .image, | section.hero-section .screenshot { | ||||||
| section.hero-section .image img { |  | ||||||
|     position: relative; |     position: relative; | ||||||
|     width: 100%; |     width: 100%; | ||||||
|     height: auto; |     height: auto; | ||||||
| @@ -108,6 +107,10 @@ section.hero-section .more-download-options { | |||||||
|     section.hero-section .title-section { |     section.hero-section .title-section { | ||||||
|         max-width: 90%; |         max-width: 90%; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     section.hero-section .screenshot { | ||||||
|  |         margin-top: 2em; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| @media (min-width: 720px) { | @media (min-width: 720px) { | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ function HeroSection() { | |||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|             <figure class="image"><img src="./src/assets/screenshot_desktop_win.png" /></figure> |             <img class="screenshot" src="./src/assets/screenshot_desktop_win.png" /> | ||||||
|         </Section> |         </Section> | ||||||
|     ) |     ) | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user