Scale edit interface to 100% width

main
Jaap Joris Vens 2020-03-24 18:16:33 +01:00
rodzic c552f52e46
commit 96ce4c4ac3
3 zmienionych plików z 20 dodań i 15 usunięć

Wyświetl plik

@ -9,21 +9,23 @@ html, body {
div.edit {
position: fixed;
right: 1em;
bottom: 1em;
bottom: 1.1em;
right: 1.1em;
z-index: 1000;
button {
display: block;
padding: 0;
outline: none;
background: none;
border: none;
}
img {
width: 75px !important;
width: 65px;
height: auto;
}
}
}
/* Form elements */
@ -38,8 +40,9 @@ form.cms {
div.wrapper {
max-width: none;
flex: 0 1 640px;
flex: 1 1 800px;
padding: 0 0.5em;
padding-top: 0.25em;
}
fieldset {

Wyświetl plik

@ -6,16 +6,17 @@ html, body {
div.edit {
position: fixed;
right: 1em;
bottom: 1em;
bottom: 1.1em;
right: 1.1em;
z-index: 1000; }
div.edit button {
display: block;
padding: 0;
outline: none;
background: none;
border: none; }
div.edit img {
width: 75px !important;
div.edit button img {
width: 65px;
height: auto; }
/* Form elements */
@ -28,8 +29,9 @@ form.cms {
justify-content: center; }
form.cms div.wrapper {
max-width: none;
flex: 0 1 640px;
padding: 0 0.5em; }
flex: 1 1 800px;
padding: 0 0.5em;
padding-top: 0.25em; }
form.cms fieldset {
background: #fff6;
border: 0.5px solid #ccc;

Wyświetl plik

@ -5,5 +5,5 @@
"admin.scss"
],
"names": [],
"mappings": "AAEA,AAAA,IAAI,EAAE,IAAI,CAAC;EACT,WAAW,EAHN,YAAY,EAAE,UAAU;EAI7B,WAAW,EAAE,CAAC;EACd,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC,GACX;;AAED,AAAA,GAAG,AAAA,KAAK,CAAC;EACP,QAAQ,EAAE,KAAK;EACf,KAAK,EAAE,GAAG;EACV,MAAM,EAAE,GAAG;EACX,OAAO,EAAE,IAAI,GAYd;EAhBD,AAME,GANC,AAAA,KAAK,CAMN,MAAM,CAAC;IACL,OAAO,EAAE,CAAC;IACV,OAAO,EAAE,IAAI;IACb,UAAU,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