mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user