1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

fix: lib icon style (#6616)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-08-22 18:04:05 +08:00
committed by GitHub
parent 6b7fb39071
commit 470ad1ba61
2 changed files with 7 additions and 3 deletions

View File

@@ -253,8 +253,12 @@
background: #f5f5f5; background: #f5f5f5;
} }
.dir-view-path .cur-view-path-btn { .cur-view-path.lib-cur-view-path {
margin-left: -4px; padding-left: 12px;
}
.cur-view-path.lib-cur-view-path .selected-dirents-toolbar {
padding-left: 4px;
} }
.dir-view-path .path-item { .dir-view-path .path-item {

View File

@@ -194,7 +194,7 @@ class LibContentContainer extends React.Component {
{gettext('This library has been set to read-only by admin and cannot be updated.')} {gettext('This library has been set to read-only by admin and cannot be updated.')}
</div> </div>
} }
<div className="cur-view-path"> <div className="cur-view-path lib-cur-view-path">
<div className={classnames('cur-view-path-left', { 'w-100': !isDesktop, 'animation-children': hasSelectedFile })}> <div className={classnames('cur-view-path-left', { 'w-100': !isDesktop, 'animation-children': hasSelectedFile })}>
{isDirentSelected ? ( {isDirentSelected ? (
<ToolbarForSelectedDirents <ToolbarForSelectedDirents