mirror of
https://github.com/flarum/framework.git
synced 2025-01-06 10:33:46 +08:00
Apply modal width on the correct class
This commit is contained in:
parent
e21cb63b11
commit
afb24a6ba2
|
@ -54,6 +54,11 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
max-width: 600px;
|
||||||
|
|
||||||
|
.Modal--small & {
|
||||||
|
max-width: 400px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actual modal
|
// Actual modal
|
||||||
|
@ -62,12 +67,7 @@
|
||||||
background-color: @body-bg;
|
background-color: @body-bg;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 600px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.Modal--small & {
|
|
||||||
max-width: 400px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Measure scrollbar width for padding body during modal show/hide
|
// Measure scrollbar width for padding body during modal show/hide
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user