Skip to content

Commit

Permalink
Issue fix: modal issues fixed for fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
prajwal88 committed Feb 27, 2019
1 parent c49777c commit f9f7fac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions component/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
flex-direction: row-reverse;
align-items: center;
}
.sb-modal-fullscreen {
&.sb-modal-fullscreen {
@include position(fixed, 0 0 0 0); //bourbon
width: 100%;
margin: 0;
margin: 0 !important;
overflow-y: auto;
overflow-x: hidden;
.sb-modal-header {
Expand Down
8 changes: 4 additions & 4 deletions dist/sb-components.css
Original file line number Diff line number Diff line change
Expand Up @@ -1329,23 +1329,23 @@ input[type="button"].btn-block {
display: flex;
flex-direction: row-reverse;
align-items: center; }
.sb-modal .ui.modal .sb-modal-fullscreen {
.sb-modal .ui.modal.sb-modal-fullscreen {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
margin: 0 !important;
overflow-y: auto;
overflow-x: hidden; }
.sb-modal .ui.modal .sb-modal-fullscreen .sb-modal-header {
.sb-modal .ui.modal.sb-modal-fullscreen .sb-modal-header {
height: 4rem;
width: auto;
border-radius: 0px;
display: flex;
justify-content: space-between; }
.sb-modal .ui.modal .sb-modal-fullscreen .sb-modal-content {
.sb-modal .ui.modal.sb-modal-fullscreen .sb-modal-content {
height: calc(100vh - 120px); }
.sb-modal .ui.modal .small {
color: #666; }
Expand Down

0 comments on commit f9f7fac

Please sign in to comment.