fix: buttons are stacked in modal window
Description: We have stacked the buttons those come in modal window VAN-1601
This commit is contained in:
@@ -5,6 +5,8 @@ import { ModalDialog, ActionRow, Button } from '@edx/paragon';
|
||||
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||
import messages from './messages';
|
||||
|
||||
import './index.scss';
|
||||
|
||||
export const ModalView = ({
|
||||
isOpen,
|
||||
onClose,
|
||||
|
||||
13
src/components/ModalView/index.scss
Normal file
13
src/components/ModalView/index.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
@import "@edx/paragon/scss/core/core";
|
||||
|
||||
@media (max-width: 464px) {
|
||||
.pgn__action-row{
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user