fix: horizontal overflow in collapsible sidebar (#1205)

When the sidebar is collapsible, a horizontal scrollbar can be seen, e.g.:

https://docusaurus.io/docs/en/installation - https://i.imgur.com/IkrkLrp.png

This is caused by the arrow being rendered outside of the sidebar box.
This commit is contained in:
Bartosz Szczeciński 2019-01-28 18:18:54 +01:00 committed by Yangshun Tay
parent cbcbf5a8c2
commit 1888e0fb92

View file

@ -1610,7 +1610,7 @@ input::placeholder {
.collapsible .arrow {
float: right;
margin-right: 5px;
margin-right: 8px;
transform: rotate(90deg);
transition: transform 200ms linear;
}