Skip to content

Commit d002b86

Browse files
cristianjddshepelev15
authored andcommitted
fix version switcher CSS (ray-project#54730)
Signed-off-by: dshepelev15 <[email protected]>
1 parent cdddb8e commit d002b86

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/_static/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,12 @@ table.autosummary tr > td:first-child > p > a > code > span {
394394
overflow-y: scroll;
395395
}
396396

397+
/* Right align the version switcher dropdown menu to prevent it from going off screen */
398+
.version-switcher__menu[data-bs-popper] {
399+
right: 0;
400+
left: unset;
401+
}
402+
397403
/* Hide the RTD version switcher since we are using PyData theme one */
398404
readthedocs-flyout {
399405
display: none !important;

0 commit comments

Comments
 (0)