From 31980bef82adb63b304f741d2e552fa2d38b37b5 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 3 Apr 2018 15:16:21 +0200 Subject: [PATCH] Add a ghost icon in the anonymous drive --- www/drive/app-drive.less | 4 ++++ www/drive/inner.js | 1 + 2 files changed, 5 insertions(+) diff --git a/www/drive/app-drive.less b/www/drive/app-drive.less index 188fcf0bf..29870f560 100644 --- a/www/drive/app-drive.less +++ b/www/drive/app-drive.less @@ -547,6 +547,10 @@ span { cursor: pointer; opacity: 0.5; padding: 0; + flex-flow: column; + align-items: center; + justify-content: center; + display: inline-flex; &:hover { opacity: 0.7; } diff --git a/www/drive/inner.js b/www/drive/inner.js index a5e0b6815..ae0328491 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -2052,6 +2052,7 @@ define([ $element.data('context', 'default'); $container.append($element); }); + createGhostIcon($container); }; var displayTrashRoot = function ($list, $folderHeader, $fileHeader) {