Skip to content

Commit

Permalink
fix: UX nits on Library Info Sidebar (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV authored Sep 4, 2024
1 parent c4d0001 commit 34f0bf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/library-authoring/library-info/LibraryInfoHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const LibraryInfoHeader = ({ library } : LibraryInfoHeaderProps) => {
iconAs={Icon}
alt={intl.formatMessage(messages.editNameButtonAlt)}
onClick={handleClick}
className="mt-1"
className="mt-1 ml-2"
size="inline"
/>
)}
Expand Down
3 changes: 1 addition & 2 deletions src/library-authoring/library-sidebar/LibrarySidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const LibrarySidebar = ({ library }: LibrarySidebarProps) => {
const buildHeader = (): React.ReactNode => headerComponentMap[sidebarBodyComponent || 'unknown'];

return (
<Stack gap={4} className="p-2 text-primary-700">
<Stack gap={4} className="p-3 text-primary-700">
<Stack direction="horizontal" className="d-flex justify-content-between">
{buildHeader()}
<IconButton
Expand All @@ -65,7 +65,6 @@ const LibrarySidebar = ({ library }: LibrarySidebarProps) => {
iconAs={Icon}
alt={intl.formatMessage(messages.closeButtonAlt)}
onClick={closeLibrarySidebar}
variant="black"
size="inline"
/>
</Stack>
Expand Down

0 comments on commit 34f0bf5

Please sign in to comment.