Skip to content

Commit

Permalink
fix(plugins/plugin-client-common): breadcrumb fonts can be too large,…
Browse files Browse the repository at this point in the history
… and double zoom

Fixes #4519
  • Loading branch information
starpit committed May 11, 2020
1 parent 62272e6 commit 2e1ce11
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class CarbonBreadcrumb extends React.PureComponent<Props> {
<BreadcrumbItem
href="#"
key={idx}
className={[_.className, _.deemphasize && 'kui--secondary-breadcrumb', 'zoomable'].filter(_ => _).join(' ')}
className={[_.className, _.deemphasize && 'kui--secondary-breadcrumb'].filter(_ => _).join(' ')}
isCurrentPage={idx === currentPageIdx}
onClick={_.command && (() => this.props.repl.pexec(_.command))}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export default class PatternflyBreadcrumb extends React.PureComponent<Props> {
className={[
_.className,
_.deemphasize && 'kui--secondary-breadcrumb',
idx === currentPageIdx && 'kui--current-page-breadcrumb',
'zoomable'
idx === currentPageIdx && 'kui--current-page-breadcrumb'
]
.filter(_ => _)
.join(' ')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@
display: flex;
align-items: center;
overflow-x: hidden;
font-size: 0.875em;

.sidecar-bottom-stripe-button:first-child {
margin-left: 0.5em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ body[kui-theme-style] nav[aria-label='Breadcrumb'] {

.bx--breadcrumb {
display: flex;
font-size: unset;
flex-wrap: nowrap;
font-family: var(--font-sans-serif);
padding: 0 1em;
Expand All @@ -30,7 +31,7 @@ body[kui-theme-style] nav[aria-label='Breadcrumb'] {

.bx--link {
font-size: inherit;
font-size: 1em;
font-size: unset;
font-weight: normal;
color: var(--color-base0C);
overflow: unset;
Expand Down

0 comments on commit 2e1ce11

Please sign in to comment.