Skip to content

Commit

Permalink
chore: tweak styles for collapse widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Candinya committed Nov 3, 2024
1 parent c14bd97 commit 907df1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/scss/kr-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ table {
> .collapse-box-header {
position: relative;
cursor: pointer;
padding-left: 15px;
padding: 3px 15px 3px 40px;
transition: color 0.3s ease-in-out;

a {
Expand All @@ -931,7 +931,7 @@ table {
.collapse-box-icon {
transition: transform 0.3s ease-in-out;
position: absolute;
right: 15px;
left: 15px;
}
}

Expand All @@ -940,13 +940,12 @@ table {
}

.collapse-box-content {
border-top: 1px solid #e6e6e6;
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.3s ease-in-out;

.inner {
padding: 5px 15px;
padding: 0 15px;
color: #333;
overflow: hidden;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/scss/kr-theme/light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $border: #3c495b3a;
$tag_background: #fffd;
$card_background: #ffffffcc;
$page_background: #f5f5f5;
$info_background: #efefefaa;
$info_background: #e0e0e0aa;
$navbar_desktop: #282a2c99;
$navbar_mobile: #16171ae6;

Expand Down

0 comments on commit 907df1c

Please sign in to comment.