Save one of the last spots in our Shell + Git + GitLab introdoctury course on Friday and Monday next week. 👉 Register here.

Commit 52f0f44f authored by femiadeyemi's avatar femiadeyemi
Browse files

helmholtz-marketplace-app: use image instead of object tag

Modification:

- substitute the image tag for the object tag
parent b5def27d
Pipeline #60672 failed with stages
in 1 minute and 57 seconds
......@@ -14,18 +14,22 @@ class HelmholtzMarketplaceApp extends LitElement {
};
}
static get styles() {
static get styles()
{
return css`
:host {
display: block;
}
* {
box-sizing: border-box;
}
.body {
width: 100vw;
height: 100vh;
min-width: 320px;
overflow-x: auto;
}
.main {
.body .main {
height: 100%;
width: 100%;
}
......@@ -65,7 +69,7 @@ class HelmholtzMarketplaceApp extends LitElement {
padding: 2% 0 2% 0;
border-bottom: 1px solid rgb(226, 226, 226);
}
.drawer-icon object {
.drawer-icon img {
height: 24px;
width: fit-content;
margin: auto;
......@@ -78,7 +82,8 @@ class HelmholtzMarketplaceApp extends LitElement {
`;
}
render() {
render()
{
return html`
<div class="body">
<nav>
......@@ -86,9 +91,7 @@ class HelmholtzMarketplaceApp extends LitElement {
<mwc-icon-button
icon="close"
@click="${this._toggleDrawer}"></mwc-icon-button>
<object
data="media/i/HIFIS_icon.svg"
type="image/svg+xml"></object>
<img src="media/i/HIFIS_icon.svg"></img>
</div>
<div class="drawer-content">
<a target="_blank"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment