Skip to content

Commit 8998f97

Browse files
committed
[css-values-5] Add overflow:hidden to example in calc-size() explainer.
Thanks to @yisibl for pointing out the omission.
1 parent 9448b55 commit 8998f97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css-values-5/calc-size-explainer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ details::details-content {
143143
--open-close-duration: 500ms;
144144
display: block; /* override default 'display: contents' */
145145
height: 0;
146+
overflow: hidden;
146147
transition: height var(--open-close-duration),
147148
content-visibility var(--open-close-duration) allow-discrete step-end;
148149
}

0 commit comments

Comments
 (0)