-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Dialog): add prop contentOverflow
to control overflow behaviour
#1211
Conversation
Playwright Test Component is ready. |
Preview is ready. |
[DATAUI-1254] |
Could u provide some description? |
|
278bfe8
to
dcc130b
Compare
Co-authored-by: Evgeny Alaev <[email protected]>
Co-authored-by: Evgenij Shangin <[email protected]>
src/components/Modal/Modal.tsx
Outdated
<div className={b('content-aligner-wrapper')}> | ||
<div className={b('content-container')}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's call them content-aligner
and content-wrapper
} | ||
|
||
export function DialogBody(props: DialogBodyProps) { | ||
const {className} = props; | ||
const {className, withDividers = false} = props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use has*
naming throughout the codebase (i.e. hasClear
, hasClose
, hasArrow
)
src/components/Dialog/Dialog.scss
Outdated
|
||
&_with-scroll { | ||
overflow-y: auto; | ||
max-height: calc(100vh - var(--yc-modal-margin) * 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use SCSS var instead, this var will be removed in v6
…eight content inside Modal
…fix; fixed animation
0e2574a
to
3fe9fd3
Compare
in order not deal with merge conflicts, i created a new one #1251 |
No description provided.