.combobox-container { display: flex; align-items: center; } .combobox-container label { margin-right: 10px; } .my-combobox { display: flex; align-items: center; padding: 0 0.5rem; width: 200px; } .slds-form-element__label { width: 144px; margin-right: -5rem; } .myinitDiv{ } .card{ } .my-addbutton{ -webkit-text-size-adjust: 100%; font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol'; line-height: normal; color: rgb(3, 45, 96); -webkit-tap-highlight-color: transparent; border-spacing: 0; border-collapse: separate; font-size: 13px; white-space: normal; box-sizing: border-box; border: 0; } .container { display: flex; justify-content: space-between; /* 设置子元素间的间距 */ } .item { flex: 1; /* 设置子元素的伸缩比例,平分剩余空间 / max-width: 100%; / 防止子元素溢出容器 */ } .text-container p:first-line { background-color: rgb(243, 243, 243); }