rustdoc: CSS prevent sidebar width change jank
This commit makes the `width` and `min-width` of the sidebar the same. They originally were whencad0fce205added the `min-width` rule, but6a5f8b1aefchanged the width without changing the `min-width`, causing it to sometimes oscilate between 200 and 250 pixels depending on the main content.
This commit is contained in:
parent
4d44e09cb1
commit
ee8e0bda34
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ img {
|
|||
|
||||
.sidebar {
|
||||
font-size: 0.875rem;
|
||||
width: 250px;
|
||||
width: 200px;
|
||||
min-width: 200px;
|
||||
overflow-y: scroll;
|
||||
position: sticky;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue