#issue-fix main menu alignment changes
parent
dc92748b64
commit
62d63b3efd
|
@ -17,6 +17,10 @@ template.innerHTML = `
|
|||
:host ::slotted([current]){
|
||||
background-color: #F4E284 !important;
|
||||
}
|
||||
:host ::slotted(*){
|
||||
padding: 0.25em 1.25em 0.25em 0.25em !important;
|
||||
margin: 2px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<elix-menu-button id="MenuButton" aria-label="Main Menu">
|
||||
|
|
|
@ -7,9 +7,9 @@ template.innerHTML = `
|
|||
<style>
|
||||
</style>
|
||||
<elix-menu-item>
|
||||
<div style="display:inline-block;">
|
||||
<div style="display:flex; align-items: center;">
|
||||
<img src="./images/logo.svg" alt="icon" style="display:none;" />
|
||||
<span></span>
|
||||
<span style="margin-left: 3px;"></span>
|
||||
</div>
|
||||
</elix-menu-item>
|
||||
`;
|
||||
|
@ -29,7 +29,7 @@ export class SeMenuItem extends HTMLElement {
|
|||
this.$label = this._shadowRoot.querySelector('span');
|
||||
this.$menuitem = this._shadowRoot.querySelector('elix-menu-item');
|
||||
this.$svg = this.$menuitem.shadowRoot.querySelector('#checkmark');
|
||||
this.$svg.setAttribute('style', 'width:1px;height:1px;');
|
||||
this.$svg.setAttribute('style', 'display: none;');
|
||||
}
|
||||
/**
|
||||
* @function observedAttributes
|
||||
|
|
Loading…
Reference in New Issue