This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new b3045dd add inbuilt hamburger icon. (#135)
b3045dd is described below
commit b3045dd2021e50d7d9943f22aae6ca7e080a15b8
Author: Ayeshmantha Perera <[email protected]>
AuthorDate: Tue Mar 10 03:27:04 2020 +0100
add inbuilt hamburger icon. (#135)
---
src/components/Hamburger/index.vue | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/src/components/Hamburger/index.vue
b/src/components/Hamburger/index.vue
index bb633e4..e21e513 100644
--- a/src/components/Hamburger/index.vue
+++ b/src/components/Hamburger/index.vue
@@ -29,11 +29,26 @@
:class="[{'is-active': isActive}]"
@click="toggleClick"
>
- <svg-icon
- name="hamburger"
+ <svg
+ viewBox="0 0 100 80"
width="20"
height="20"
- />
+ >
+ <rect
+ width="100"
+ height="20"
+ />
+ <rect
+ y="30"
+ width="100"
+ height="20"
+ />
+ <rect
+ y="60"
+ width="100"
+ height="20"
+ />
+ </svg>
</div>
</template>
@@ -57,7 +72,4 @@ export default class extends Vue {
vertical-align: middle;
}
-.is-active {
- transform: rotate(180deg);
-}
</style>