diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-09-27 08:07:20 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-10-19 01:46:13 +0200 |
commit | 420d1b91ab0d3c9e521bf6def682fd3c58fde997 (patch) | |
tree | e871cb10a061ebffade06c37e8b79511be802a96 /apps/files/css | |
parent | a8f1902b02d02cc2b7d624b3d7b288f8aea84fdc (diff) | |
download | nextcloud-server-420d1b91ab0d3c9e521bf6def682fd3c58fde997.tar.gz nextcloud-server-420d1b91ab0d3c9e521bf6def682fd3c58fde997.zip |
Add "Favorite" action to the file actions menu
The new FileAction for the menu is essentially the same as the old
inline FileAction, except for the rendering; in this case the FileAction
is shown in the menu in a standard way, so there is no need to provide a
custom renderer (although the menu entry text and icon change depending
on whether the file is currently a favorite or not, but that can be done
just with displayName and iconClass functions).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/files.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 7c2d3b0bb1c..4a59502bc6d 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -502,7 +502,7 @@ table td.filename .uploadtext { display: inline-block; float: left; } -#fileList tr td.filename .action-favorite { +#fileList tr td.filename .action-favorite:not(.menuitem) { display: block; float: left; width: 30px; |