Skip to content

Commit 404c3c8

Browse files
authored
BUG - Fix sphinx-design cards borders (#2170)
Closes #2167 After this PR: ![image](https://github.com/user-attachments/assets/4cd3e0fa-555b-434b-8c60-0d9bc0ea9f83)
1 parent 1191f8d commit 404c3c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pydata_sphinx_theme/assets/styles/extensions/_sphinx_design.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ html[data-theme="light"] {
150150

151151
.bd-content .sd-card {
152152
border: 1px solid var(--pst-color-border);
153+
overflow: hidden;
153154

154155
.sd-card-header {
155156
background-color: var(--pst-color-on-background);

0 commit comments

Comments
 (0)