Tweak style of progress notification

This commit is contained in:
LASER-Yi 2021-05-09 21:46:41 +08:00
parent 8b41616429
commit 38fc3b36fe
2 changed files with 2 additions and 3 deletions

View File

@ -99,7 +99,7 @@ const ProgressToast: FunctionComponent<ProgressHolderProps> = ({
<span className="mr-auto">Background Task</span> <span className="mr-auto">Background Task</span>
</Toast.Header> </Toast.Header>
<Toast.Body> <Toast.Body>
<div className="mb-2 mt-1 text-nowrap text-truncate"> <div className="mb-2 mt-1">
<FontAwesomeIcon <FontAwesomeIcon
className="mr-2" className="mr-2"
icon={faPaperPlane} icon={faPaperPlane}

View File

@ -13,8 +13,7 @@
padding: 1rem; padding: 1rem;
.toast { .toast {
max-width: 260px; width: 16rem;
min-width: 200px;
backdrop-filter: blur(6px); backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);