Skip to content
Snippets Groups Projects
Commit d0ed480f authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Don't hardcode the icon path

parent 47f9f55e
No related branches found
No related tags found
No related merge requests found
import {i18n} from './i18n';
import {css, html} from 'lit-element';
import {css, html, unsafeCSS} from 'lit-element';
import DBPLitElement from 'dbp-common/dbp-lit-element';
import * as commonStyles from 'dbp-common/styles';
import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {Icon, MiniSpinner} from 'dbp-common';
import {classMap} from 'lit-html/directives/class-map.js';
import jsQR from "jsqr";
import {getIconSVGURL} from 'dbp-common';
/**
......@@ -394,7 +395,7 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) {
}
#videoSource:hover {
background: calc(100% - 0.2rem) center no-repeat url("https://mw-frontend-dev.tugraz.at/apps/checkin/local/dbp-common/icons/chevron-down.svg");
background: calc(100% - 0.2rem) center no-repeat url("${unsafeCSS(getIconSVGURL('chevron-down'))}");
color: black;
background-position-x: calc(100% - 0.4rem);
background-size: auto 45%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment