Skip to content

Commit

Permalink
refactor(Accordion): clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cata1989 committed Jul 8, 2024
1 parent 6f50d44 commit fbf956e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@

:host {
@apply block;

direction: rtl;
writing-mode: vertical-rl;
}
2 changes: 1 addition & 1 deletion packages/beeq/src/components/accordion/bq-accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class BqAccordion {
</slot>
</div>
</summary>
<div class="bq-accordion__body" part="panel">
<div class="bq-accordion__body overflow-hidden" part="panel">
<slot />
</div>
</details>
Expand Down
3 changes: 0 additions & 3 deletions packages/beeq/src/components/accordion/scss/bq-accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
}
}

direction: rtl;
writing-mode: vertical-rl;

&.small .bq-accordion__header {
@apply gap-[--bq-accordion--small-gap] pe-[--bq-accordion--small-padding-end] ps-[--bq-accordion--small-padding-start] p-b-[--bq-accordion--small-padding-y];
@apply rounded-ee-[--bq-accordion--small-radius] rounded-es-[--bq-accordion--small-radius] rounded-se-[--bq-accordion--small-radius] rounded-ss-[--bq-accordion--small-radius];
Expand Down

0 comments on commit fbf956e

Please sign in to comment.