Skip to content

Commit

Permalink
feat: show actions separator
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Sep 24, 2023
1 parent c74bcff commit 909a013
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/components/layout/LayoutPopupNavigate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
base-popup(
:class=`[
"c-layout-popup-navigate",
"c-layout-popup-navigate--" + size
"c-layout-popup-navigate--" + size,
{
"c-layout-popup-navigate--actions": $slots.actions
}
]`
popup-class="c-layout-popup-navigate__popup"
)
Expand Down Expand Up @@ -43,6 +46,7 @@ base-popup(
)

div(
v-if="$slots.actions"
:class=`[
"c-layout-popup-navigate__actions",
{
Expand Down Expand Up @@ -112,7 +116,7 @@ $popup-width-full-margin-inline: 14px;
$popup-height-full-margin-block: $popup-width-full-margin-inline;

$popup-max-width-medium: 760px;
$popup-max-height-medium: 650px;
$popup-max-height-medium: 660px;
$popup-max-width-small: 640px;
$popup-max-height-small: 540px;

Expand Down Expand Up @@ -145,6 +149,7 @@ $popup-max-height-small: 540px;

#{$c}__form {
padding-block-start: $popup-padding-block-start;
padding-block-end: $popup-padding-block-end;
overflow: auto;
flex: 1;

Expand All @@ -158,6 +163,7 @@ $popup-max-height-small: 540px;
}

#{$c}__actions {
border-top: 1px solid $color-border-tertiary;
padding-block: $popup-padding-block-end;
flex: 0 0 auto;
}
Expand Down Expand Up @@ -186,5 +192,15 @@ $popup-max-height-small: 540px;
width: 168px;
}
}

// --> BOOLEANS <--

&--actions {
#{$c}__content {
#{$c}__form {
padding-block-end: ($popup-padding-block-end + 20px);
}
}
}
}
</style>

0 comments on commit 909a013

Please sign in to comment.