1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-04-16 08:44:45 +02:00

add back xlinkhref svgs

This commit is contained in:
Kushagra Gour 2018-05-25 00:58:06 +05:30
parent ae8e37e425
commit 89c2f2199b
3 changed files with 26 additions and 6 deletions

View File

@ -457,7 +457,9 @@ export default class ContentWrap extends Component {
title="Clear console (CTRL + L)"
d-click="onClearConsoleBtnClick"
>
Clear
<svg>
<use xlinkHref="#cancel-icon" />
</svg>
</a>
<a
class="code-wrap__header-btn code-wrap__collapse-btn"

View File

@ -144,7 +144,15 @@ export default class Footer extends Component {
class="footer__link hint--rounded hint--top-right hide-on-mobile"
aria-label="Keyboard shortcuts"
>
Keyboard
<svg
style={{
width: '20px',
height: '20px',
verticalAlign: 'text-bottom'
}}
>
<use xlinkHref="#keyboard-icon" />
</svg>
</a>
<a
class="footer__link hint--rounded hint--top-right"
@ -152,7 +160,15 @@ export default class Footer extends Component {
href="http://twitter.com/share?url=https://webmakerapp.com/&text=Web Maker - A blazing fast %26 offline web playground! via @webmakerApp&related=webmakerApp&hashtags=web,frontend,playground,offline"
target="_blank"
>
Tweet
<svg
style={{
width: '20px',
height: '20px',
verticalAlign: 'text-bottom'
}}
>
<use xlinkHref="#twitter-icon" />
</svg>
</a>
<a
d-click="openSupportDeveloperModal"

View File

@ -18,7 +18,9 @@ export default class Header extends Component {
aria-label="Run preview (Ctrl/⌘ + Shift + 5)"
d-click="onRunBtnClick"
>
<svg style="width: 14px; height: 14px;">Play</svg>Run
<svg style="width: 14px; height: 14px;">
<use xlinkHref="#play-icon" />
</svg>Run
</a>
<a
@ -61,7 +63,7 @@ export default class Header extends Component {
<path d="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z" />
</svg>
<svg class="btn-loader" width="15" height="15" stroke="#fff">
Loader
<use xlinkHref="#loader-icon" />
</svg>
Save
</a>
@ -78,7 +80,7 @@ export default class Header extends Component {
<path d="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z" />
</svg>
<svg class="btn-loader" width="15" height="15" stroke="#fff">
Loader
<use xlinkHref="#loader-icon" />
</svg>
Open
</a>