✨(component): 调整 tag-input 默认宽度
This commit is contained in:
		
							parent
							
								
									8b6f727950
								
							
						
					
					
						commit
						42502be232
					
				@ -23,7 +23,7 @@
 | 
			
		||||
.layui-tag-input {
 | 
			
		||||
  display: inline-flex;
 | 
			
		||||
  box-sizing: border-box;
 | 
			
		||||
  width: auto;
 | 
			
		||||
  width: 220px;
 | 
			
		||||
  border-width: @tag-input-boeder;
 | 
			
		||||
  border-style: solid;
 | 
			
		||||
  border-color: var(--input-border-color);
 | 
			
		||||
 | 
			
		||||
@ -10,10 +10,10 @@
 | 
			
		||||
::: title 基础使用
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: demo 使用 `lay-input` 标签, 创建输入框. FIXME 上游组件变动,已不适用,待重构
 | 
			
		||||
::: demo 使用 `lay-tag-input` 标签, 创建标签输入框。  
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
  <lay-tag-input v-model="data1" v-model:inputValue="inputValue" style="width:60%"></lay-tag-input>
 | 
			
		||||
  <lay-tag-input v-model="data1" v-model:inputValue="inputValue"></lay-tag-input>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,7 @@
 | 
			
		||||
          <li>[修复] cascader 外部清空modelValue, 内部displayValue不清空问题。</li>
 | 
			
		||||
          <li>[修复] tolltip 组件 content 自动定位。</li>
 | 
			
		||||
          <li>[修复] breadcrumb-item 组件无法正确传递 attrs 的问题。</li>
 | 
			
		||||
          <li>[其他] ...</li>
 | 
			
		||||
          <li>[优化] tag 组件 border background height 等默认样式。</li>
 | 
			
		||||
        </ul>
 | 
			
		||||
      </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user