File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,20 @@ thead {
192192 font-weight : bold ;
193193}
194194
195+ // hide the download entry on the menu
196+ // on public share when NOT on mobile
197+ @media only screen and (min-width : 769px ) {
198+ #body-public {
199+ .header-right {
200+ #header-actions-menu {
201+ > ul > li #download {
202+ display : none ;
203+ }
204+ }
205+ }
206+ }
207+ }
208+
195209// hide the primary on public share on mobile
196210@media only screen and (max-width : 768px ) {
197211 #body-public {
Original file line number Diff line number Diff line change 5151 ?>
5252 <div class="header-right">
5353 <span id="header-primary-action" class="<?php if ($ template ->getActionCount () === 1 ) { p ($ primary ->getIcon ()); } ?> ">
54- <a href="<?php p ($ primary ->getLink ()); ?> ">
54+ <a href="<?php p ($ primary ->getLink ()); ?> " class="primary button" >
5555 <span><?php p ($ primary ->getLabel ()) ?> </span>
5656 </a>
5757 </span>
58- <?php if ($ template ->getActionCount ()> 1 ) { ?>
58+ <?php if ($ template ->getActionCount () > 1 ) { ?>
5959 <div id="header-secondary-action">
6060 <span id="header-actions-toggle" class="menutoggle icon-more-white"></span>
6161 <div id="header-actions-menu" class="popovermenu menu">
6262 <ul>
6363 <?php
6464 /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
65- foreach ($ template -> getOtherActions () as $ action ) {
65+ foreach ($ others as $ action ) {
6666 print_unescaped ($ action ->render ());
6767 }
6868 ?>
You can’t perform that action at this time.
0 commit comments