Implement web toast
This commit is contained in:
parent
20eaac6acd
commit
24559599f3
3 changed files with 77 additions and 21 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue