summaryrefslogtreecommitdiffstats
path: root/apps/dav/l10n
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-02-16 12:00:07 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-03-01 01:52:08 +0100
commit14abe6a9e0484f5866006fcfc4e3e847b51cbcfa (patch)
tree01a0dc5f09ba891fa3766f852cdca7ce8cbc26a6 /apps/dav/l10n
parentd7e5a660ca609ce98efc1ecaffbe7524edc21a84 (diff)
downloadnextcloud-server-14abe6a9e0484f5866006fcfc4e3e847b51cbcfa.tar.gz
nextcloud-server-14abe6a9e0484f5866006fcfc4e3e847b51cbcfa.zip
Fix upload button visible on read-only folders
The div that contains the elements related to the creation of new files, and thus the upload button, is always present in the DOM; it is hidden or shown based on the folder permissions by adding or removing the "hidden" CSS class. However, as the other CSS classes for the div are "actions" and "creatable" and a "display: flex" rule was defined for ".actions.creatable" below the "display: none" rule for ".actions.hidden" the last one took precedence and the div ended being always visible, even if the "hidden" CSS class was set. Now the rules for the ".actions.hidden" selector are defined below the rules for the ".actions.creatable" selector and thus the "display: none" rule is applied as expected. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/dav/l10n')
0 files changed, 0 insertions, 0 deletions