From 7ea0e8b438c6d0a8872de0816843332d25fddef8 Mon Sep 17 00:00:00 2001 From: bac-joker <haizekuo@gmail.com> Date: Mon, 28 Sep 2020 11:06:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20select=20docs=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=B1=A1=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #21 --- packages/fes-doc/docs/ui/select.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/packages/fes-doc/docs/ui/select.md b/packages/fes-doc/docs/ui/select.md index 9d73f5bc..762d8f74 100644 --- a/packages/fes-doc/docs/ui/select.md +++ b/packages/fes-doc/docs/ui/select.md @@ -8,7 +8,7 @@ pageClass: comp-page-class ## 代码示例 <ClientOnly> -<row> +<row class="ui-select-docs"> <cell span="12" class="pr-20"> <componetTemplate title="基础用法" template="ui/templates/select/1.html"> <template v-slot:demo> @@ -81,19 +81,22 @@ pageClass: comp-page-class </ClientOnly> <style lang="scss"> +.ui-select-docs { + .ui-select { + display: block; + margin-top: 20px; + width: 50% + } + .ui-select .ui-select-dropdown-list { + padding: 0; + } +} .code-box-demo{ .ui-select:first-child{ margin-top: 0px; } } -.ui-select { - display: block; - margin-top: 20px; - width: 50% -} -.ui-select .ui-select-dropdown-list { - padding: 0; -} + </style> <script>