Skip to content

Commit

Permalink
remove debugging, fix flex direction
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto Wachter authored and Otto Wachter committed Oct 9, 2024
1 parent 4d3c2a4 commit f801825
Showing 1 changed file with 5 additions and 28 deletions.
33 changes: 5 additions & 28 deletions less/toast.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,14 @@
@rack-width: 300px;
@rack-max-height: 400px;

// Debugging colors for visibility
@debug-border-color: yellow;
@debug-background: rgba(255, 255, 0, 0.2);
@debug-z-index: 9999;

// Toast container positions with added debugging styles
// Toast container positions
.enable-toast {
&__container {
position: fixed;
z-index: @debug-z-index; // Increased z-index for debugging visibility
z-index: 9999;
display: flex;
flex-direction: column;
transition: @toast-transition;
border: 2px dashed @debug-border-color; // Debugging border to visualize container

// Debugging background to visualize container
background-color: @debug-background;

&--bottom-right,
&--bottom-left,
Expand Down Expand Up @@ -65,7 +57,7 @@
}
}

// Toast item styles with debugging styles for visibility
// Toast item styles
&__item {
display: flex;
align-items: center;
Expand All @@ -79,10 +71,6 @@
opacity: 0;
transition: opacity 0.5s ease-in-out;

// Debugging border and background to visualize the toast
border: 2px solid red;
background-color: @debug-background;

&--visible {
opacity: 1;
}
Expand All @@ -99,14 +87,12 @@
font-size: 16px;
cursor: pointer;

// Debugging hover color
&:hover {
color: @toast-close-hover-color;
border: 1px solid @debug-border-color; // Debugging border
}
}

// Toast rack with debugging styles
// Toast rack
&__rack {
position: fixed;
top: 20px;
Expand All @@ -119,14 +105,5 @@
overflow-y: auto;
display: none;
z-index: 9998;

// Debugging styles
background-color: rgba(
0,
255,
0,
0.2
); // Light green background for rack visibility
border: 2px dashed orange;
}
}

0 comments on commit f801825

Please sign in to comment.