Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove width restriction on Label widgets, and right-align them. #1269

Merged
merged 2 commits into from
Apr 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
6 changes: 1 addition & 5 deletions jupyter-js-widgets/css/widgets-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down