Skip to content

Commit

Permalink
fix(core/modal): fix padding (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiashader authored Feb 29, 2024
1 parent e7e7d47 commit 37d90fb
Showing 26 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -14,5 +14,5 @@
display: block;
position: relative;
overflow: auto;
padding: 0.125rem 0.625rem 0.125rem 0.625rem;
padding: 0.25rem 0.75rem;
}
3 changes: 1 addition & 2 deletions packages/core/src/components/modal-footer/modal-footer.scss
Original file line number Diff line number Diff line change
@@ -11,8 +11,7 @@
:host {
@include ix-component;
display: flex;
padding: 0.625rem;
padding-top: 1.5rem;
padding: 0.5rem;
justify-content: flex-end;
align-items: center;
gap: 0.5rem;
4 changes: 2 additions & 2 deletions packages/core/src/components/modal-header/modal-header.scss
Original file line number Diff line number Diff line change
@@ -11,13 +11,13 @@
:host {
@include ix-component;
display: flex;
padding: 2px 16px 16px 10px;
padding: 0.5rem;
align-items: center;
align-self: stretch;

.modal-close {
margin-left: auto;
margin-right: -20px;
margin-right: -1rem;
}

.modal-icon {
9 changes: 5 additions & 4 deletions packages/core/src/components/modal/modal.scss
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@

dialog {
margin: 0;
padding: 1rem;
left: 50%;
}

@@ -66,8 +67,8 @@
}

.modal-size-full-screen {
left: 0px !important;
top: 0px !important;
left: 0 !important;
top: 0 !important;
transform: none !important;

width: calc(100% - 28px);
@@ -84,8 +85,8 @@
position: fixed;
width: 100vw;
height: 100vh;
top: 0px;
left: 0px;
top: 0;
left: 0;

pointer-events: none;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 37d90fb

Please sign in to comment.