mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
style: modal
This commit is contained in:
parent
4093e6ff16
commit
c483cd099e
1 changed files with 2 additions and 7 deletions
|
@ -24,7 +24,6 @@
|
|||
min-width: 100%;
|
||||
height: inherit;
|
||||
min-height: 100%;
|
||||
padding: var(#{$✨}spacing);
|
||||
border: 0;
|
||||
backdrop-filter: var(#{$✨}modal-overlay-backdrop-filter);
|
||||
background-color: var(#{$✨}modal-overlay-background-color);
|
||||
|
@ -32,7 +31,9 @@
|
|||
|
||||
// Content
|
||||
article {
|
||||
width: 100%;
|
||||
max-height: calc(100vh - var(#{$✨}spacing) * 2);
|
||||
margin: var(#{$✨}spacing);
|
||||
overflow: auto;
|
||||
|
||||
@if map.get($breakpoints, "sm") {
|
||||
|
@ -72,12 +73,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
p {
|
||||
&:last-of-type {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Close icon
|
||||
@if $enable-classes {
|
||||
.close {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue