From d78ca0cd4be27931340f2d9a526a87a0e1efff0e Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Mon, 28 Mar 2022 14:14:59 +0800 Subject: [PATCH] fix: update sidebar, topology, table, title, router (#42) --- src/assets/icons/version.svg | 15 ++ src/components/Icon.vue | 4 +- src/layout/components/SideBar.vue | 207 +++++++++--------- src/router/dashboard.ts | 2 +- src/styles/reset.scss | 18 ++ src/views/dashboard/graphs/EndpointList.vue | 4 +- src/views/dashboard/graphs/InstanceList.vue | 2 +- src/views/dashboard/graphs/ServiceList.vue | 2 +- src/views/dashboard/graphs/Table.vue | 82 ++----- src/views/dashboard/panel/Tool.vue | 1 - .../related/topology/components/Graph.vue | 8 +- vue.config.js | 4 + 12 files changed, 170 insertions(+), 179 deletions(-) create mode 100644 src/assets/icons/version.svg diff --git a/src/assets/icons/version.svg b/src/assets/icons/version.svg new file mode 100644 index 00000000..fba69678 --- /dev/null +++ b/src/assets/icons/version.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/src/components/Icon.vue b/src/components/Icon.vue index e7805416..7848aacc 100644 --- a/src/components/Icon.vue +++ b/src/components/Icon.vue @@ -55,8 +55,8 @@ defineProps({ } &.lg { - width: 24px; - height: 24px; + width: 22px; + height: 22px; } &.loading { diff --git a/src/layout/components/SideBar.vue b/src/layout/components/SideBar.vue index 1316cdef..6649c744 100644 --- a/src/layout/components/SideBar.vue +++ b/src/layout/components/SideBar.vue @@ -13,93 +13,95 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->