Skip to content

Commit

Permalink
fix: Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hetunandu committed Jan 13, 2025
1 parent 05d38ce commit c47b5fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@ export const EntityEditableName = styled(Text)`
min-width: 3ch;
text-overflow: unset;
}
& input {
background-color: var(--ads-v2-color-bg);
padding-top: 0;
padding-bottom: 0;
height: 32px;
top: 0;
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ export const EntityItem = (props: EntityItemProps) => {
() => ({
onChange: handleTitleChange,
onKeyUp: handleKeyUp,
style: {
backgroundColor: "var(--ads-v2-color-bg)",
paddingTop: 0,
paddingBottom: 0,
height: "32px",
top: 0,
},
}),
[handleKeyUp, handleTitleChange],
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const CollapseWrapper = styled.div`
export const EntityItemWrapper = styled(Flex)<{ "data-depth": number }>`
border-radius: var(--ads-v2-border-radius);
cursor: pointer;
user-select: none;
padding-left: ${(props) => {
return 4 + props["data-depth"] * 8;
Expand Down

0 comments on commit c47b5fe

Please sign in to comment.