Skip to content

Commit e6ecf9f

Browse files
Merge pull request #1175 from SylvainCorlay/ie-center-slider
IE center slider
2 parents b2cb470 + 66fc7cb commit e6ecf9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jupyter-js-widgets/css/widgets-base.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,8 @@
535535
/* Inner, invisible slide div */
536536
width: var(--jp-widgets-slider-track-thickness);
537537
height: 100%;
538-
margin-left: calc((6px - var(--jp-widgets-slider-track-thickness)) / 2);
538+
margin-left: auto;
539+
margin-right: auto;
539540
}
540541

541542
/* Widget Progress Styling */

0 commit comments

Comments
 (0)