Add title to all categories in drive

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

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

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

Loading…
Cancel
Save