Skip to content

Commit

Permalink
feat(Popover): story styles
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymBezpalko committed Nov 2, 2023
1 parent 2769557 commit a723989
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
.listElement {
.content-wrapper {
display: flex;
align-items: center;
cursor: pointer;
padding: 10px;
list-style: none;
line-height: 1.5;
color: var(--content-default);
font-size: 14px;
justify-content: center;
padding: 12px;
width: 300px;
height: 300px;
}

.listElement:hover {
background-color: var(--surface-basic-hover);
}

.divider {
border-bottom: 1px solid var(--border-default);
}

.label {
margin-left: 5px;
line-height: 20px;
.content {
display: flex;
align-items: center;
justify-content: center;
border: 1px dashed var(--border-default);
border-radius: 4px;
background-color: var(--surface-basic-default);
width: 100%;
height: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,8 @@ export const Default = (args: IPopoverProps): React.ReactElement => (
</Button>
)}
>
<div
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
padding: '12px',
width: '308px',
height: '308px',
}}
>
<div
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
border: '1px dashed var(--border-default)',
backgroundColor: 'var(--surface-basic-default)',
width: '100%',
height: '100%',
borderRadius: '4px',
}}
>
<div className="content-wrapper">
<div className="content">
<Text>Popover content</Text>
</div>
</div>
Expand Down

0 comments on commit a723989

Please sign in to comment.