diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index b8a5dbf4f3891..c31b4f82bed98 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -192,6 +192,20 @@ thead { font-weight: bold; } +// hide the download entry on the menu +// on public share when NOT on mobile +@media only screen and (min-width: 769px) { + #body-public { + .header-right { + #header-actions-menu { + > ul > li#download { + display: none; + } + } + } + } +} + // hide the primary on public share on mobile @media only screen and (max-width: 768px) { #body-public { diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 0558da52d0b28..8a87e88a16c7d 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -51,18 +51,18 @@ ?>