This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git
The following commit(s) were added to refs/heads/master by this push:
new de5166e fix(sidebar): fix search icon overlaps with input
de5166e is described below
commit de5166e97b3dc5cf3d3539d8f639bfaea0217d55
Author: plainheart <[email protected]>
AuthorDate: Thu May 5 12:37:17 2022 +0800
fix(sidebar): fix search icon overlaps with input
---
components/partials/Sidebar.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/partials/Sidebar.vue b/components/partials/Sidebar.vue
index f3ac761..7511629 100644
--- a/components/partials/Sidebar.vue
+++ b/components/partials/Sidebar.vue
@@ -183,11 +183,12 @@ export default Vue.extend({
input {
@apply shadow rounded-xl border-0 p-4 w-full outline-none;
+ padding-right: 3rem;
}
.search-icon {
position: absolute;
- right: 30px;
+ right: 3rem;
top: 28px;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]