You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't apply for content with no scroll, well, because there are no scroll so the position is fixed.
I have tried to overwrite with this CSS, then the button will not scroll with content.
.copy-button, .copy-success {
position: sticky;
margin-left: auto;
}
.code-container {
display: flex; // or inline-flex works too.
}
However the .copy-success will just simply disappear if the container is scrollable. It is still in DOM, just that the svg is somehow not rendered (size is 8 x 24 in that case)
The text was updated successfully, but these errors were encountered:
View on load:
On scroll:
This doesn't apply for content with no scroll, well, because there are no scroll so the position is fixed.
I have tried to overwrite with this CSS, then the button will not scroll with content.
However the .copy-success will just simply disappear if the container is scrollable. It is still in DOM, just that the svg is somehow not rendered (size is 8 x 24 in that case)
The text was updated successfully, but these errors were encountered: