Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.

Commit fff4eb3

Browse files
authored
docs: Fix overlap of accordion component with text (software-mansion#605)
## Description As in the title, this PR fixes overlap of accordion component with text below. Refer to this issue: software-mansion-labs/t-rex-ui#42 ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions Build documentation and check the page from linked issue above ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 80d3a1d commit fff4eb3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/src/css/overrides.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,8 @@ table thead tr {
161161
}
162162
}
163163

164-
/* TODO: Remove after @swmansion-t-rex-ui 0.0.10 patch */
165-
button[class*='DocSearch-Button'] {
166-
margin: 0 !important;
164+
[class*='details'] + p {
165+
margin-top: 1rem;
167166
}
168167

169168
[class*='theme-doc-sidebar-item-category-level-'] {

0 commit comments

Comments
 (0)