From 384e31cafa80eb6ec1b1cd9b20d38bec6d0d8a69 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Fri, 7 Apr 2017 10:44:50 -0400 Subject: [PATCH 1/2] Remove width restriction on Label widgets, and right-align them. --- jupyter-js-widgets/css/widgets-base.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 { From e235af804729ba587a28a738904ccf421eafa477 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Fri, 7 Apr 2017 10:52:34 -0400 Subject: [PATCH 2/2] Add changelog note. --- docs/source/changelog.md | 7 +++++++ 1 file changed, 7 insertions(+) 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 ---