Implement web toast

This commit is contained in:
Paul Frazee 2023-01-26 22:08:10 -06:00
parent 20eaac6acd
commit 24559599f3
3 changed files with 77 additions and 21 deletions

View file

@ -36,25 +36,6 @@
border-radius: 10px;
box-shadow: 0 5px 10px #0005;
}
/* These styles are for src/view/com/util/Toast */
div[data-toast-container] {
position: fixed;
bottom: 5vh;
right: 5vh;
width: 350px;
padding: 20px;
display: flex;
flex-direction: row;
align-items: center;
background: #fff;
border-radius: 10px;
box-shadow: 0 5px 10px #0005;
}
div[data-toast-container] > div {
font-size: 18px;
margin-left: 10px;
}
</style>
</head>
<body>