From 2cae07d2b3969abc6502b3bc3803bc81c24551d2 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Sun, 8 Jul 2018 00:35:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=9B=BE=E8=A1=A8=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 5cd9fc5dc647b4e80248fdfbd63a7a27c87bf1ce [formerly 0e4f24612e58be7692170e5b7d950e9da9a51e0a] [formerly 5cd9fc5dc647b4e80248fdfbd63a7a27c87bf1ce [formerly 0e4f24612e58be7692170e5b7d950e9da9a51e0a] [formerly 5cd9fc5dc647b4e80248fdfbd63a7a27c87bf1ce [formerly 0e4f24612e58be7692170e5b7d950e9da9a51e0a] [formerly 0e4f24612e58be7692170e5b7d950e9da9a51e0a [formerly 3e3b36a72c682a86970c7a07259424a17bc66ecb [formerly 4402a48ca5d312c10b763de0a72c37383c670dad]]]]] Former-commit-id: 47ff030cf67641ec59b2d599421f1a5fcc6d01cb Former-commit-id: ea9fc86ae2b2a7d7db5df1e0aadbbae1a7a7361e Former-commit-id: 58c4f0ae4803a8206bf8b656700c5d0c112a2ea3 [formerly 724fe1d47f9c6bcccc68e6289c24f2cf93e18789] Former-commit-id: 9469befcfca4a1e7ad5227906e2db7bae6fc64aa Former-commit-id: 2727af2cf4a394dc81e7d59f33d47912af80f22a Former-commit-id: 7117f9b202b8522e96f5dd5d39dc4f475288cd20 Former-commit-id: 91af4dcbc2b7a76956143d18d1c1a70b09c10087 Former-commit-id: f40ee1d652bad394ccc7366b81d25be020a722d8 --- src/assets/style/theme/theme.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/assets/style/theme/theme.scss b/src/assets/style/theme/theme.scss index b01c49f1..ed3f3759 100644 --- a/src/assets/style/theme/theme.scss +++ b/src/assets/style/theme/theme.scss @@ -17,13 +17,21 @@ } background: $theme-menu-item-background-color-hover; } + %icon { + i.fa { + display: inline-block; + width: 15px; + text-align: center; + margin-right: 5px; + } + } .el-submenu__title { @extend %unable-select; - i.fa { margin-right: 5px; } + @extend %icon; } .el-menu-item { @extend %unable-select; - i.fa { margin-right: 5px; } + @extend %icon; } .el-submenu__title:hover { @include theme-menu-hover-style;