Skip to content

Commit b3045dd

Browse files
add inbuilt hamburger icon. (#135)
1 parent b3b3065 commit b3045dd

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

src/components/Hamburger/index.vue

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,26 @@
2929
:class="[{'is-active': isActive}]"
3030
@click="toggleClick"
3131
>
32-
<svg-icon
33-
name="hamburger"
32+
<svg
33+
viewBox="0 0 100 80"
3434
width="20"
3535
height="20"
36-
/>
36+
>
37+
<rect
38+
width="100"
39+
height="20"
40+
/>
41+
<rect
42+
y="30"
43+
width="100"
44+
height="20"
45+
/>
46+
<rect
47+
y="60"
48+
width="100"
49+
height="20"
50+
/>
51+
</svg>
3752
</div>
3853
</template>
3954

@@ -57,7 +72,4 @@ export default class extends Vue {
5772
vertical-align: middle;
5873
}
5974
60-
.is-active {
61-
transform: rotate(180deg);
62-
}
6375
</style>

0 commit comments

Comments
 (0)