Skip to content

Commit

Permalink
fix: lib icon style (#6616)
Browse files Browse the repository at this point in the history
Co-authored-by: 杨国璇 <[email protected]>
  • Loading branch information
YangGuoXuan-0503 and 杨国璇 authored Aug 22, 2024
1 parent 6b7fb39 commit 470ad1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions frontend/src/css/lib-content-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,12 @@
background: #f5f5f5;
}

.dir-view-path .cur-view-path-btn {
margin-left: -4px;
.cur-view-path.lib-cur-view-path {
padding-left: 12px;
}

.cur-view-path.lib-cur-view-path .selected-dirents-toolbar {
padding-left: 4px;
}

.dir-view-path .path-item {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class LibContentContainer extends React.Component {
{gettext('This library has been set to read-only by admin and cannot be updated.')}
</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 })}>
{isDirentSelected ? (
<ToolbarForSelectedDirents
Expand Down

0 comments on commit 470ad1b

Please sign in to comment.