mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
chore(website): improve screenshot fit on mobile
This commit is contained in:
parent
ab162efab8
commit
3ce9c7ba3d
@ -72,8 +72,7 @@ section.hero-section .title-section h1 {
|
||||
color: var(--foreground-color);
|
||||
}
|
||||
|
||||
section.hero-section .image,
|
||||
section.hero-section .image img {
|
||||
section.hero-section .screenshot {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
@ -108,6 +107,10 @@ section.hero-section .more-download-options {
|
||||
section.hero-section .title-section {
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
section.hero-section .screenshot {
|
||||
margin-top: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 720px) {
|
||||
|
@ -29,7 +29,7 @@ function HeroSection() {
|
||||
</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>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user