From b3317ffcc4feba7145f537dcc18562b414fe229d Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 01 八月 2023 17:14:32 +0800
Subject: [PATCH] 修改按钮

---
 force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html b/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html
index dd18724..d7a835f 100644
--- a/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html
+++ b/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html
@@ -4,7 +4,7 @@
  * @Author: chen jing wu
  * @Date: 2023-05-25 13:59:44
  * @LastEditors: chen jing wu
- * @LastEditTime: 2023-05-30 10:21:50
+ * @LastEditTime: 2023-08-01 16:08:18
 -->
 <template>
     <div>
@@ -19,10 +19,10 @@
                        </template>
                        <template if:true={recordselected}>
                           <span class="slds-pill slds-pill_link fullWidth slds-input slds-combobox__input"> 
-                             <a href="javascript:void(0);" 
-                                class="slds-pill__action slds-p-left_x-small" title={selectedValue}>
+                             <a href="javascript:void(0);"
+                                class="slds-pill__action slds-p-left_x-small" title={selectedValue} style="height: 32px;">
                                 <lightning-icon icon-name={iconname} size="x-small"></lightning-icon>
-                                <span class="slds-pill__label slds-p-left_x-small">{selectedValue}</span>
+                                <span class="slds-pill__label slds-p-left_x-small" style="display: inline-flex;width: 50px">{selectedValue}</span>
                              </a>
                              <button onclick={clearSelection}
                              class="slds-button slds-button_icon slds-button_icon slds-pill__remove" 
@@ -36,7 +36,7 @@
                     </div>
                     <template if:true={recordsList}>
                        <div class="slds-combobox_container">
-                          <div id="listbox-id-1" class="slds-dropdown slds-dropdown_fluid" role="listbox">
+                          <div id="listbox-id-1" class="slds-dropdown slds-dropdown_fluid slds-dropdown_autocomplete" role="listbox">
                              <ul class="slds-listbox slds-listbox_vertical" role="presentation">
                                 <template for:each={recordsList} for:item="item">
                                    <li key={item.Id} role="presentation" class="slds-listbox__item">

--
Gitblit v1.9.1