mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +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);
|
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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user