Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/sdk/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ Dark version
@apply bg-b3-react-background;
}
.b3-modal .css-1m9ejup,
.b3-modal .css-1cv2836 {
.b3-modal .css-1cv2836,
.b3-modal .css-1893pav {
display: none !important;
}
Comment on lines 345 to 349
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using generated class names like .css-1893pav is a fragile approach because they can change with any third-party library update, breaking this override. This creates technical debt.

To improve maintainability, please add comments explaining what each of these cryptic class names targets. This will be invaluable for future debugging. I've added a suggestion with placeholders for you to fill in.

Suggested change
.b3-modal .css-1m9ejup,
.b3-modal .css-1cv2836 {
.b3-modal .css-1cv2836,
.b3-modal .css-1893pav {
display: none !important;
}
.b3-modal .css-1m9ejup, /* Targets: (please specify) */
.b3-modal .css-1cv2836, /* Targets: (please specify) */
.b3-modal .css-1893pav { /* Targets: (please specify) */
display: none !important;
}


Expand Down
Loading