Skip to content

Commit

Permalink
fix(VExpansionPanels): add missing flat prop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Feb 19, 2024
1 parent 136dd51 commit 76147a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Expand Up @@ -173,3 +173,11 @@

&--active
max-width: $expansion-panel-inset-active-max-width

.v-expansion-panels--flat
> .v-expansion-panel
&::after
border-top: none

.v-expansion-panel__shadow
display: none
Expand Up @@ -24,6 +24,7 @@ type Variant = typeof allowedVariants[number]

export const makeVExpansionPanelsProps = propsFactory({
color: String,
flat: Boolean,
static: Boolean,
variant: {
type: String as PropType<Variant>,
Expand Down Expand Up @@ -66,6 +67,9 @@ export const VExpansionPanels = genericComponent()({
<props.tag
class={[
'v-expansion-panels',
{
'v-expansion-panels--flat': props.flat,
},
themeClasses.value,
variantClass.value,
props.class,
Expand Down

0 comments on commit 76147a7

Please sign in to comment.