From e95e5476b39f832cde4f1059fb720956fc060932 Mon Sep 17 00:00:00 2001 From: telamonian Date: Thu, 2 Jan 2020 16:48:28 -0500 Subject: [PATCH] fixes #7575: centered v alignment of breadcrumbs home icon --- packages/ui-components/src/style/icon.ts | 4 +++- yarn.lock | 23 ++--------------------- 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/packages/ui-components/src/style/icon.ts b/packages/ui-components/src/style/icon.ts index 2da268ba6b5f..c891628820a6 100644 --- a/packages/ui-components/src/style/icon.ts +++ b/packages/ui-components/src/style/icon.ts @@ -126,7 +126,9 @@ const containerCSSBreadCrumb: NestedCSSProperties = { // `&` will be substituted for the generated classname (interpolation) $nest: { '&:first-child svg': { - marginLeft: '0px' + bottom: '1px', + marginLeft: '0px', + position: 'relative' }, '&:hover': { backgroundColor: 'var(--jp-layout-color2)' diff --git a/yarn.lock b/yarn.lock index ee7506abbedb..fad69a9afb5a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12676,17 +12676,7 @@ react-docgen@^4.1.1: node-dir "^0.1.10" recast "^0.17.3" -react-dom@^16.8.3: - version "16.12.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.12.0.tgz#0da4b714b8d13c2038c9396b54a92baea633fe11" - integrity sha512-LMxFfAGrcS3kETtQaCkTKjMiifahaMySFDn71fZUNpPHZQEzmk/GiAeIT8JSOrHB23fnuCOMruL2a8NYlw+8Gw== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.18.0" - -react-dom@~16.9.0: +react-dom@^16.8.3, react-dom@~16.9.0: version "16.9.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.9.0.tgz#5e65527a5e26f22ae3701131bcccaee9fb0d3962" integrity sha512-YFT2rxO9hM70ewk9jq0y6sQk8cL02xm4+IzYBz75CQGlClQQ1Bxq0nhHF6OtSbit+AIahujJgb/CPRibFkMNJQ== @@ -12847,16 +12837,7 @@ react-transition-group@^2.9.0: prop-types "^15.6.2" react-lifecycles-compat "^3.0.4" -react@^16.8.3: - version "16.12.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.12.0.tgz#0c0a9c6a142429e3614834d5a778e18aa78a0b83" - integrity sha512-fglqy3k5E+81pA8s+7K0/T3DBCF0ZDOher1elBFzF7O6arXJgzyu/FW+COxFvAWXJoJN9KIZbT2LXlukwphYTA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - -react@~16.9.0: +react@^16.8.3, react@~16.9.0: version "16.9.0" resolved "https://registry.yarnpkg.com/react/-/react-16.9.0.tgz#40ba2f9af13bc1a38d75dbf2f4359a5185c4f7aa" integrity sha512-+7LQnFBwkiw+BobzOF6N//BdoNw0ouwmSJTEm9cglOOmsg/TMiFHZLe2sEoN5M7LgJTj9oHH0gxklfnQe66S1w==