mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16: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%;
|
min-width: 100%;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
padding: var(#{$✨}spacing);
|
|
||||||
border: 0;
|
border: 0;
|
||||||
backdrop-filter: var(#{$✨}modal-overlay-backdrop-filter);
|
backdrop-filter: var(#{$✨}modal-overlay-backdrop-filter);
|
||||||
background-color: var(#{$✨}modal-overlay-background-color);
|
background-color: var(#{$✨}modal-overlay-background-color);
|
||||||
|
@ -32,7 +31,9 @@
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
article {
|
article {
|
||||||
|
width: 100%;
|
||||||
max-height: calc(100vh - var(#{$✨}spacing) * 2);
|
max-height: calc(100vh - var(#{$✨}spacing) * 2);
|
||||||
|
margin: var(#{$✨}spacing);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
@if map.get($breakpoints, "sm") {
|
@if map.get($breakpoints, "sm") {
|
||||||
|
@ -72,12 +73,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
|
||||||
&:last-of-type {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Close icon
|
// Close icon
|
||||||
@if $enable-classes {
|
@if $enable-classes {
|
||||||
.close {
|
.close {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue