diff --git a/docs/source/changelog.md b/docs/source/changelog.md index e9fea377a1..7e3b277b5a 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -3,6 +3,13 @@ ipywidgets changelog A summary of changes in ipywidgets. For more detailed information, see [GitHub](https://github.com/jupyter-widgets/ipywidgets). + +7.0 +--- +Major user-visible changes in ipywidgets 7.0 include: + +- The `Label` widget is now right-aligned and has no width restriction: [#1269](https://github.com/jupyter-widgets/ipywidgets/pull/1269) + 6.0 --- diff --git a/jupyter-js-widgets/css/widgets-base.css b/jupyter-js-widgets/css/widgets-base.css index ccec27c641..3ff72b5c20 100644 --- a/jupyter-js-widgets/css/widgets-base.css +++ b/jupyter-js-widgets/css/widgets-base.css @@ -251,11 +251,7 @@ text-overflow: ellipsis; white-space: nowrap; line-height: var(--jp-widgets-inline-height); - max-width: var(--jp-widgets-inline-width); -} - -.jupyter-widgets.widget-label { - width: var(--jp-widgets-inline-width-tiny); + text-align: right; } .widget-inline-hbox .widget-label {