@@ -92,27 +92,25 @@ const Toasts = () => {
9292 < p className = "text-body-secondary small" >
9393 Toasts are slightly translucent to blend in with what's below them.
9494 </ p >
95- < DocsExample href = "components/toast#translucent" >
96- < div className = "bg-dark p-3" >
97- < CToast title = "CoreUI for React.js" autohide = { false } visible = { true } >
98- < CToastHeader closeButton >
99- < svg
100- className = "rounded me-2"
101- width = "20"
102- height = "20"
103- xmlns = "http://www.w3.org/2000/svg"
104- preserveAspectRatio = "xMidYMid slice"
105- focusable = "false"
106- role = "img"
107- >
108- < rect width = "100%" height = "100%" fill = "#007aff" > </ rect >
109- </ svg >
110- < strong className = "me-auto" > CoreUI for React.js</ strong >
111- < small > 7 min ago</ small >
112- </ CToastHeader >
113- < CToastBody > Hello, world! This is a toast message.</ CToastBody >
114- </ CToast >
115- </ div >
95+ < DocsExample href = "components/toast#translucent" tabContentClassName = "bg-dark" >
96+ < CToast title = "CoreUI for React.js" autohide = { false } visible = { true } >
97+ < CToastHeader closeButton >
98+ < svg
99+ className = "rounded me-2"
100+ width = "20"
101+ height = "20"
102+ xmlns = "http://www.w3.org/2000/svg"
103+ preserveAspectRatio = "xMidYMid slice"
104+ focusable = "false"
105+ role = "img"
106+ >
107+ < rect width = "100%" height = "100%" fill = "#007aff" > </ rect >
108+ </ svg >
109+ < strong className = "me-auto" > CoreUI for React.js</ strong >
110+ < small > 7 min ago</ small >
111+ </ CToastHeader >
112+ < CToastBody > Hello, world! This is a toast message.</ CToastBody >
113+ </ CToast >
116114 </ DocsExample >
117115 </ CCardBody >
118116 </ CCard >
@@ -128,7 +126,7 @@ const Toasts = () => {
128126 some spacing.
129127 </ p >
130128 < DocsExample href = "components/toast#stacking" >
131- < CToaster >
129+ < CToaster className = "position-static" >
132130 < CToast title = "CoreUI for React.js" autohide = { false } visible = { true } >
133131 < CToastHeader closeButton >
134132 < svg
0 commit comments