Skip to content

Commit

Permalink
Fix/sidebar padding (#553)
Browse files Browse the repository at this point in the history
* fix: 🐛 Fixed sidebar padding when closed

* this should not be there :)

* resolve
  • Loading branch information
espenkalle authored Feb 1, 2024
1 parent 5e0d9f6 commit ada8f7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const StyledViewSettings = styled.div<StyledViewSettingsProps>`
width: ${(props) => (props.expanded ? '260px' : '45px')};
box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.1);
margin-left: 2px;
padding: 10px;
padding: ${(props) => (props.expanded ? '10px 0' : '0px')};
transition: width 0.1s ease;
overflow: hidden;
background-color: ${tokens.colors.ui.background__light.rgba};
Expand Down

0 comments on commit ada8f7e

Please sign in to comment.