From def5960164678bc04385fa543f296d02977e8575 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 18 Nov 2022 19:35:46 +0800 Subject: [PATCH] docs: fix edit button position (#38696) --- .dumi/theme/common/EditButton.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.dumi/theme/common/EditButton.tsx b/.dumi/theme/common/EditButton.tsx index c45da6e2c0..df55450e28 100644 --- a/.dumi/theme/common/EditButton.tsx +++ b/.dumi/theme/common/EditButton.tsx @@ -21,8 +21,10 @@ const useStyle = () => { a& { display: inline-block; text-decoration: none; - margin-inline-start: 4px; - vertical-align: -2px; + margin-inline-start: 6px; + vertical-align: middle; + position: relative; + top: -2px; ${iconCls} { display: block;