Add title to all categories in drive

pull/1/head
yflory 5 years ago
parent 67e1f5ca63
commit b8f7efc0de

@ -781,6 +781,7 @@
flex-grow: 1; flex-grow: 1;
justify-content: flex-end; justify-content: flex-end;
.cp-app-drive-path-element { .cp-app-drive-path-element {
.tools_unselectable();
display: inline-block; display: inline-block;
flex-shrink: 0; flex-shrink: 0;
max-width: 100%; max-width: 100%;
@ -795,7 +796,6 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
transition: all 0.15s; transition: all 0.15s;
cursor: pointer;
&:first-child { &:first-child {
flex-shrink: 1; flex-shrink: 1;
@ -813,12 +813,15 @@
&.cp-app-drive-element-droppable { &.cp-app-drive-element-droppable {
background-color: @drive_droppable-bg; background-color: @drive_droppable-bg;
} }
&:not(.cp-app-drive-element-droppable):hover { &.cp-app-drive-path-clickable {
&:not(.cp-app-drive-path-separator) { cursor: pointer;
text-decoration: underline; &:hover {
} &:not(.cp-app-drive-path-separator) {
& ~ .cp-app-drive-path-element:not(.cp-app-drive-path-separator) { text-decoration: underline;
text-decoration: underline; }
& ~ .cp-app-drive-path-element:not(.cp-app-drive-path-separator) {
text-decoration: underline;
}
} }
} }
} }

@ -3584,9 +3584,7 @@ define([
createToolbar(path); createToolbar(path);
if (inTrash || isInRoot) { if (!isSearch) { createTitle($content, path); }
createTitle($content, path);
}
var $info = createInfoBox(path); var $info = createInfoBox(path);
var $dirContent = $('<div>', {id: FOLDER_CONTENT_ID}); var $dirContent = $('<div>', {id: FOLDER_CONTENT_ID});

Loading…
Cancel
Save