Skip to content

Commit

Permalink
Merge pull request #200 from pavinduLakshan/add_header_brand_min_width
Browse files Browse the repository at this point in the history
fix(react): add minimum width to brand element in header component
  • Loading branch information
jeradrutnam authored Dec 21, 2023
2 parents 1617f25 + 588301e commit 7f6e8b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/Header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
.oxygen-brand {
display: flex;
align-items: center;
width: calc(var(--oxygen-customComponents-Navbar-properties-width) - 77px);
min-width: calc(var(--oxygen-customComponents-Navbar-properties-width) - 90px);
text-decoration: none;
color: inherit;
min-width: 230px;
margin-right: 18px;

&-logo {
height: 40px;
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/theme/default-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const generateDefaultThemeOptions = (baseTheme: Theme): RecursivePartial<
Navbar: {
properties: {
'mini-variant-width': '64px',
width: '300px',
width: '315px',
},
},
Stepper: {
Expand Down

0 comments on commit 7f6e8b9

Please sign in to comment.