Skip to content

Commit

Permalink
fix: prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Ashkan Baghdoust committed Aug 20, 2024
1 parent 6700025 commit bd71a12
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/components/segment/segment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ export class Segment {
this.iconOnly && `${prefix}icon-only`
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,4 @@ export class SegmentedButton {
this.fullWidth && `${prefix}full-width`
);
}
}
}
36 changes: 17 additions & 19 deletions packages/components/src/html/segment-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,27 @@
</style>
</head>

<body>
<scale-collapsible>
<div slot="heading">Open Me for Disaster</div>
<body>
<scale-collapsible>
<div slot="heading">Open Me for Disaster</div>
<scale-segmented-button>
<scale-segment selected>Apple</scale-segment>
<scale-segment>One+</scale-segment>
<scale-segment>Samsung</scale-segment>
<scale-segment>Huawei</scale-segment>
</scale-segmented-button>
</scale-collapsible>

<scale-segmented-button>
<scale-segment selected>Apple</scale-segment>
<scale-segment>Apple</scale-segment>
<scale-segment>One+</scale-segment>
<scale-segment>Samsung</scale-segment>
<scale-segment>Huawei</scale-segment>
</scale-segmented-button>
</scale-collapsible>


<scale-segmented-button>
<scale-segment >Apple</scale-segment>
<scale-segment>One+</scale-segment>
<scale-segment>Samsung</scale-segment>
<scale-segment>Huawei</scale-segment>
</scale-segmented-button>


<scale-segmented-button>
<scale-segment selected>Label</scale-segment>
<scale-segment selected>Label</scale-segment>
</scale-segmented-button>
</body>
<scale-segmented-button>
<scale-segment selected>Label</scale-segment>
<scale-segment selected>Label</scale-segment>
</scale-segmented-button>
</body>
</html>

0 comments on commit bd71a12

Please sign in to comment.