Skip to content

Commit 115aaef

Browse files
authored
Fix overflow on accordion summary (#12)
1 parent 059a9ae commit 115aaef

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/styles/function-reference.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,14 @@
101101
border: 1px solid var(--sl-color-hairline);
102102
border-radius: 0.5rem;
103103
padding: 0;
104+
overflow: hidden;
104105
}
105106

106107
.function-metadata-details summary {
107108
cursor: pointer;
108109
font-size: 1rem;
109110
font-weight: 600;
110-
padding: 0.75rem;
111+
padding: 0.75rem 0.75rem 0.75rem 1rem;
111112
user-select: none;
112113
list-style: none;
113114
display: flex;
@@ -143,13 +144,14 @@
143144
border: 1px solid var(--sl-color-hairline);
144145
border-radius: 0.5rem;
145146
padding: 0;
147+
overflow: hidden;
146148
}
147149

148150
.function-parameters-details summary {
149151
cursor: pointer;
150152
font-size: 1rem;
151153
font-weight: 600;
152-
padding: 0.75rem;
154+
padding: 0.75rem 0.75rem 0.75rem 1rem;
153155
user-select: none;
154156
list-style: none;
155157
display: flex;

0 commit comments

Comments
 (0)