Skip to content

Commit e46ecdd

Browse files
Otto WachterOtto Wachter
Otto Wachter
authored and
Otto Wachter
committed
remove debugging, fix flex direction
1 parent 79c82d8 commit e46ecdd

File tree

1 file changed

+5
-28
lines changed

1 file changed

+5
-28
lines changed

less/toast.less

+5-28
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,14 @@
1313
@rack-width: 300px;
1414
@rack-max-height: 400px;
1515

16-
// Debugging colors for visibility
17-
@debug-border-color: yellow;
18-
@debug-background: rgba(255, 255, 0, 0.2);
19-
@debug-z-index: 9999;
20-
21-
// Toast container positions with added debugging styles
16+
// Toast container positions
2217
.enable-toast {
2318
&__container {
2419
position: fixed;
25-
z-index: @debug-z-index; // Increased z-index for debugging visibility
20+
z-index: 9999;
2621
display: flex;
22+
flex-direction: column;
2723
transition: @toast-transition;
28-
border: 2px dashed @debug-border-color; // Debugging border to visualize container
29-
30-
// Debugging background to visualize container
31-
background-color: @debug-background;
3224

3325
&--bottom-right,
3426
&--bottom-left,
@@ -65,7 +57,7 @@
6557
}
6658
}
6759

68-
// Toast item styles with debugging styles for visibility
60+
// Toast item styles
6961
&__item {
7062
display: flex;
7163
align-items: center;
@@ -79,10 +71,6 @@
7971
opacity: 0;
8072
transition: opacity 0.5s ease-in-out;
8173

82-
// Debugging border and background to visualize the toast
83-
border: 2px solid red;
84-
background-color: @debug-background;
85-
8674
&--visible {
8775
opacity: 1;
8876
}
@@ -99,14 +87,12 @@
9987
font-size: 16px;
10088
cursor: pointer;
10189

102-
// Debugging hover color
10390
&:hover {
10491
color: @toast-close-hover-color;
105-
border: 1px solid @debug-border-color; // Debugging border
10692
}
10793
}
10894

109-
// Toast rack with debugging styles
95+
// Toast rack
11096
&__rack {
11197
position: fixed;
11298
top: 20px;
@@ -119,14 +105,5 @@
119105
overflow-y: auto;
120106
display: none;
121107
z-index: 9998;
122-
123-
// Debugging styles
124-
background-color: rgba(
125-
0,
126-
255,
127-
0,
128-
0.2
129-
); // Light green background for rack visibility
130-
border: 2px dashed orange;
131108
}
132109
}

0 commit comments

Comments
 (0)