Skip to content

Commit

Permalink
Editor improvements v2 (#241)
Browse files Browse the repository at this point in the history
* added `border-top` to toolbar

* hide background if entry is not active

---------

Co-authored-by: vin0401 <[email protected]>
  • Loading branch information
Corepex and vin0401 authored May 17, 2024
1 parent d646f6d commit 8883287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/src/core/components/sidebar/sidebar.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const useStyle = createStyles(({ token, css }) => {
padding: ${token.paddingXS}px ${token.paddingXXS}px;
justify-content: center;
align-items: center;
background: ${token.colorFillQuaternary};
.pimcore-icon {
flex-shrink: 0;
Expand All @@ -65,6 +64,7 @@ export const useStyle = createStyles(({ token, css }) => {
}
&.active {
background: ${token.colorFillQuaternary};
border-right: 2px solid ${token.colorPrimaryActive};
.pimcore-icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const useStyles = createStyles(({ token, css }) => {
}
.content-toolbar-sidebar-layout__toolbar {
border-top: 1px solid ${token.colorBorderTertiary};
position: sticky;
bottom: 0;
height: ${token.sizeXXL}px;
Expand Down

0 comments on commit 8883287

Please sign in to comment.