Skip to content

Commit

Permalink
modified toaster
Browse files Browse the repository at this point in the history
  • Loading branch information
TimTJoe committed Aug 16, 2024
1 parent cc8d5b2 commit a8f4cd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions public/css/generic.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,19 +164,15 @@
.toaster {
position: absolute;
top: 2%;
left: 45%;
width: 250px;
background-color: var(--charcoal);
min-width: 60%;
max-width: 60%;
background-color: var(--whisper);
z-index: 3000;
box-shadow: var(--shadow-sm);
border-radius: 8px;
text-align: center;
padding: var(--spacing-xs);
}

.toaster .large {
min-width: 60%;
max-width: 60%;
padding: var(--spacing-xxs);
gap: var(--spacing-md);
}

.toaster .text {
Expand Down
4 changes: 2 additions & 2 deletions views/dashboard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<%- include("./partials/sidebar") %>
<div class="content padding">
<div class="grid">
<section class="toaster row between">
<em class="icon"></em>
<section class="toaster row">
<em class="icon">icon</em>
<span class="text">Text</span>
<button class="action mini crimson">Done</button>
</section>
Expand Down

0 comments on commit a8f4cd1

Please sign in to comment.