mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
style: list block overflowY (#4822)
This commit is contained in:
parent
3da0fcf3dd
commit
5fa0c6a10f
@ -77,7 +77,7 @@ const InternalList = (props) => {
|
|||||||
css`
|
css`
|
||||||
.nb-list-container {
|
.nb-list-container {
|
||||||
height: ${height ? height + 'px' : '100%'};
|
height: ${height ? height + 'px' : '100%'};
|
||||||
overflow-y: auto;
|
overflow-y: ${height ? 'auto' : null};
|
||||||
margin-left: -${token.marginLG}px;
|
margin-left: -${token.marginLG}px;
|
||||||
margin-right: -${token.marginLG}px;
|
margin-right: -${token.marginLG}px;
|
||||||
padding-left: ${token.marginLG}px;
|
padding-left: ${token.marginLG}px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user