Skip to content

Commit

Permalink
Merge pull request #99 from sarweshmaharjan/sarweshmaharjan/fix-ui-bo…
Browse files Browse the repository at this point in the history
…rder

fix: border to be added above and below
  • Loading branch information
mesaugat authored Feb 21, 2024
2 parents 22cc8e3 + 51c1904 commit 389588d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/assets/scss/components/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
.accordion-content {
overflow: hidden;
padding: 0 getSpacing('4x');
border-top: 1px solid getColor('primary.base');
border-bottom: 1px solid getColor('primary.base');
header {
padding-top: getSpacing('6x');
padding-bottom: getSpacing('4x');

cursor: pointer;
}

Expand All @@ -34,6 +34,9 @@
font-size: 1rem;
transition: height 0.4s ease;
}
&:first-child{
border-top: 1px solid getColor('primary.base');
}
}

.icon {
Expand Down

0 comments on commit 389588d

Please sign in to comment.