mirror of
https://github.com/zadam/trilium.git
synced 2025-12-24 00:59:55 +01:00
feat(website): improve hero download buttons on mobile
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
.download-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.download-button .platform {
|
||||
font-size: 0.75em;
|
||||
opacity: 0.75;
|
||||
@@ -14,6 +10,6 @@
|
||||
|
||||
@media (min-width: 720px) {
|
||||
.download-button {
|
||||
display: inline-block;
|
||||
display: inline-block !important;
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ const { name, url } = getRecommendedDownload();
|
||||
export default function DownloadButton({ big }: DownloadButtonProps) {
|
||||
return (
|
||||
<Button
|
||||
className={`download-button ${big ? "big" : ""}`}
|
||||
className={`download-button desktop-only ${big ? "big" : ""}`}
|
||||
href={url}
|
||||
iconSvg={downloadIcon}
|
||||
text={<>
|
||||
|
||||
Reference in New Issue
Block a user