Skip to content

Commit

Permalink
fix: popover background (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
francisrupert authored Jan 4, 2023
1 parent 14a17f2 commit d57fbb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/components/popover.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ thumb: true
storybook_url: https://vue.dialpad.design/?path=/story/components-popover--default
figma_url: https://www.figma.com/file/2adf7JhZOncRyjYiy2joil/DT-Core%3A-Components-7?node-id=8921%3A22411&viewport=831%2C-269%2C0.43&t=xHutRjwo1o5zMTgT-11
---
<code-well-header>

<code-well-header bgclass="d-bgc-white">
<example-popover modal />
</code-well-header>

Expand Down Expand Up @@ -57,7 +58,7 @@ Your popover should be non-modal when:

### Popover - Modal

<code-well-header>
<code-well-header bgclass="d-bgc-white">
<example-popover modal />
</code-well-header>

Expand All @@ -76,7 +77,7 @@ Your popover should be non-modal when:

### Popover - Non Modal

<code-well-header>
<code-well-header bgclass="d-bgc-white">
<example-popover />
</code-well-header>

Expand All @@ -94,7 +95,7 @@ Your popover should be non-modal when:

### With Header - Modal

<code-well-header>
<code-well-header bgclass="d-bgc-white">
<example-popover modal header>
<template #content>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur delectus distinctio id iure labore, maiores mollitia reprehenderit sunt tempore veritatis. Aliquam delectus earum ex, expedita ipsam nobis obcaecati quibusdam repudiandae.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur delectus distinctio id iure labore, maiores mollitia reprehenderit sunt tempore veritatis. Aliquam delectus earum ex, expedita ipsam nobis obcaecati quibusdam repudiandae.<br>
Expand Down Expand Up @@ -122,7 +123,7 @@ Your popover should be non-modal when:

### With Footer - Modal

<code-well-header>
<code-well-header bgclass="d-bgc-white">
<example-popover modal footer>
<template #content>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur delectus distinctio id iure labore, maiores mollitia reprehenderit sunt tempore veritatis. Aliquam delectus earum ex, expedita ipsam nobis obcaecati quibusdam repudiandae.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur delectus distinctio id iure labore, maiores mollitia reprehenderit sunt tempore veritatis. Aliquam delectus earum ex, expedita ipsam nobis obcaecati quibusdam repudiandae.<br>
Expand Down
1 change: 1 addition & 0 deletions lib/build/less/components/popover.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
display: grid;
grid-template-rows: 1fr;
overflow: auto;
background-color: var(--popover-color-background);
border-radius: var(--popover-border-radius);
box-shadow: var(--popover-shadow);

Expand Down

0 comments on commit d57fbb6

Please sign in to comment.