Fixup file size warning

Add contentType-specific limits, switch to lazy-init iff we encounter an
oversized file, and restyle as a toast, factoring out a generic
ToastView along the way.
This commit is contained in:
lilia
2015-03-02 16:31:04 -08:00
parent ddc0ed1b9a
commit db7dee9a8a
5 changed files with 48 additions and 33 deletions

View File

@@ -264,3 +264,14 @@
}
}
.toast {
position: absolute;
bottom: 0;
margin: 0 2em 3em;
padding: 0.5em 1.5em;
background: rgba(0, 0, 0, 0.75);
color: white;
box-shadow: 0 0 5px 0 black;
border-radius: 20px;
font-size: small;
}