Skip to content

Commit

Permalink
fix: padding in the design system (#1025)
Browse files Browse the repository at this point in the history
Co-authored-by: Khuda Dad Nomani <[email protected]>%0ACo-authored-by: Khuda Dad Nomani <[email protected]>%0ACo-authored-by: samz <[email protected]>
  • Loading branch information
koukama and Amzani authored Mar 19, 2024
1 parent f54db39 commit 22009e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Disable specific file since it would introduce more complexity to reduce it - mainly code complexity and complex template literals
sonar.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/tailwind.css,apps/studio/src/components/SplitPane/**
# Disable duplicate code in tests since it would introduce more complexity to reduce it.
sonar.cpd.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/components/Template/HTMLWrapper.tsx,apps/studio/src/components/Visualiser/Visualiser.tsx,apps/studio/src/components/Navigationv3.tsx,apps/studio/src/components/Navigation.tsx
sonar.cpd.exclusions=apps/studio/**
2 changes: 1 addition & 1 deletion apps/design-system/src/components/DropdownMenu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const items = [

export const Default = {
args: {
trigger: <button className="bg-white text-black rounded mx-3 my-3">Click me!</button>,
trigger: <button className="text-black bg-white rounded mx-3 my-3 px-3">Click me!</button>,
items,
side: 'bottom',
align: 'start'
Expand Down
2 changes: 1 addition & 1 deletion apps/design-system/src/components/SlideOver.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Example = () => {

return (
<div>
<button onClick={handleOpen} className="bg-white text-black rounded mx-3 my-3">Open SlideOver</button>
<button onClick={handleOpen} className="bg-white text-black rounded my-3 mx-3 px-3">Open SlideOver</button>

<SlideOver isOpen={isOpen} onClose={handleClose}>
<h2>Content of the SlideOver</h2>
Expand Down

0 comments on commit 22009e4

Please sign in to comment.