Skip to content

Commit

Permalink
fix(masthead): change container position to relative (carbon-design-s…
Browse files Browse the repository at this point in the history
…ystem#11431)

### Related Ticket(s)

Closes
[JIRA](https://jsw.ibm.com/browse/ADCMS-4398)

### Description

Adding `position: relative` style to the masthead container so it stacks properly.
  • Loading branch information
marcelojcs authored Jan 23, 2024
1 parent c32acaa commit 40457e0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,7 @@ class C4DMastheadComposite extends HostListenerMixin(LitElement) {

// This is a temp fix until we figure out why we can't set styles to the :host(c4d-masthead-container) in stylesheets
this.style.zIndex = '900';
this.style.position = 'relative';

// Allows conditional rendering of left/top navs.
layoutBreakpoint.addEventListener('change', () => {
Expand Down

0 comments on commit 40457e0

Please sign in to comment.