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

Improve style of Lumino tab close button #839

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Conversation

MetRonnie
Copy link
Member

This is a small change with no associated Issue.

Before:

image

After:

image

Requirements check-list

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Does not need tests
  • Appropriate change log entry included.
  • No documentation update required.

@MetRonnie MetRonnie added this to the 1.0 milestone Nov 10, 2021
@MetRonnie MetRonnie self-assigned this Nov 10, 2021
.p-BoxPanel {
.lm-BoxPanel {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.p-* is deprecated apparently: jupyterlab/lumino#106

@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2021

Codecov Report

Merging #839 (0398e48) into master (9c02f54) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #839   +/-   ##
=======================================
  Coverage   91.47%   91.47%           
=======================================
  Files          86       86           
  Lines        1701     1701           
  Branches      109      109           
=======================================
  Hits         1556     1556           
  Misses        119      119           
  Partials       26       26           
Flag Coverage Δ
e2e 79.71% <ø> (ø)
unittests 78.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c02f54...0398e48. Read the comment docs.

.p-TabBar-tabCloseIcon:before {
content: 'X';
.lm-TabBar-tabCloseIcon:before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z' /%3E%3C/svg%3E");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SVG taken from material design close icon

Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one review will do. 👍

@hjoliver hjoliver merged commit 1354396 into cylc:master Nov 10, 2021
@MetRonnie MetRonnie deleted the patch branch November 11, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants