Skip to content

Commit

Permalink
Backport PR #13090 (Preserve kernel icon aspect ratio) (#13122)
Browse files Browse the repository at this point in the history
* Backport PR #13090: Preserve kernel icon aspect ratio

* Update Playwright Snapshots

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
fcollonval and github-actions[bot] committed Sep 27, 2022
1 parent 8fea039 commit 19139d7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions packages/launcher/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
.jp-Launcher-kernelIcon {
width: var(--jp-private-launcher-large-icon-size);
height: var(--jp-private-launcher-large-icon-size);
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;

/* Preserve image aspect ratio */
object-fit: contain;
}

0 comments on commit 19139d7

Please sign in to comment.