Merge pull request 'Fixed webkit issue for Iconoir Icons related to mask' (#20) from dev into main
All checks were successful
/ checking (push) Successful in 34s
All checks were successful
/ checking (push) Successful in 34s
Reviewed-on: #20
This commit is contained in:
commit
e8e6733c9f
2 changed files with 4 additions and 2 deletions
|
@ -17,7 +17,7 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
||||||
<slot />
|
<slot />
|
||||||
</ul>
|
</ul>
|
||||||
<div class="placeholder"></div>
|
<div class="placeholder"></div>
|
||||||
<div class="icon"></div>
|
<div class="hamburger-menu"></div>
|
||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
@ -105,8 +105,9 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
||||||
justify-self: top;
|
justify-self: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.hamburger-menu {
|
||||||
mask: var(--hamburger_src_url) no-repeat center;
|
mask: var(--hamburger_src_url) no-repeat center;
|
||||||
|
-webkit-mask: var(--hamburger_src_url) no-repeat center;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
width: 2em;
|
width: 2em;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
|
|
|
@ -73,6 +73,7 @@ const fulllink = `/${slug}`
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
mask: var(--icon_src_url) no-repeat center;
|
mask: var(--icon_src_url) no-repeat center;
|
||||||
|
-webkit-mask: var(--icon_src_url) no-repeat center;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
width: 1.4em;
|
width: 1.4em;
|
||||||
height: 1.4em;
|
height: 1.4em;
|
||||||
|
|
Loading…
Reference in a new issue