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

Improve padding/size of inline icons; fix script src lookup

parent 3a1de3f5
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<script type="module" src="bundle.js"></script>
<script type="module" id="vpu-common-demo-src" src="bundle.js"></script>
<style>
body {
font-family: sans;
......
......@@ -42,7 +42,7 @@ class VpuCommonDemo extends VPULitElement {
}
a:after {
${ unsafeCSS(getIconCSS('bolt')) };
${ unsafeCSS(getIconCSS('envelope')) };
}
`;
}
......@@ -62,7 +62,7 @@ class VpuCommonDemo extends VPULitElement {
}
render() {
commonUtils.initAssetBaseURL('vpu-person-select-src');
commonUtils.initAssetBaseURL('vpu-common-demo-src');
const bulmaCSS = commonUtils.getAssetURL(bulmaCSSPath);
return html`
<link rel="stylesheet" href="${bulmaCSS}">
......
......@@ -33,7 +33,8 @@ export function getIconCSS(name) {
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
font-size: 1.1em;
margin-left: 0.2em;
padding-left: 0.3em;
content: "X";
`;
}
......
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