Skip to content

Commit

Permalink
refactor(comp:drawer): show theme variables in docs (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
danranVm committed Feb 28, 2023
1 parent f45776d commit 82ce25b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/components/drawer/docs/Index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ category: components
type: 反馈
title: Drawer
subtitle: 抽屉
order: 0
theme: true
---

10 changes: 5 additions & 5 deletions packages/components/drawer/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@
overflow: hidden;

> .@{header-prefix} {
padding-left: var(--ix-spacing-lg);
padding-right: var(--ix-spacing-lg);
padding-left: 16px;
padding-right: 16px;
}
}

&-body {
flex: 1;
padding: var(--ix-spacing-sm) var(--ix-spacing-lg);
padding: 8px 16px;
overflow: auto;
}

&-footer {
padding: var(--ix-spacing-md) var(--ix-spacing-lg);
padding: 12px 16px;

.@{button-prefix} + .@{button-prefix} {
margin-left: var(--ix-spacing-sm);
margin-left: 8px;
}
}

Expand Down

0 comments on commit 82ce25b

Please sign in to comment.