mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-30 02:58:37 +08:00
!1747 fix(#I46OBU): textarea element not fill the width in Dialog body
* chore: bump version to 5.7.2 * chore: 打包脚本与样式 * style: 微调 inline 模式下 textarea 组件宽度 * feat: 重构 Textarea 组件结构
This commit is contained in:
parent
e58110fbbd
commit
ec6218e8c1
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>5.7.1</Version>
|
||||
<Version>5.7.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -1,5 +1,5 @@
|
||||
@namespace BootstrapBlazor.Components
|
||||
@inherits TextareaBase
|
||||
@inherits ValidateBase<string>
|
||||
|
||||
@if (IsShowLabel)
|
||||
{
|
||||
|
@ -5,14 +5,14 @@
|
||||
namespace BootstrapBlazor.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Textarea 组件基类
|
||||
///
|
||||
/// </summary>
|
||||
public abstract class TextareaBase : ValidateBase<string?>
|
||||
public partial class Textarea
|
||||
{
|
||||
/// <summary>
|
||||
/// 获得 class 样式集合
|
||||
/// </summary>
|
||||
protected string? ClassName => CssBuilder.Default("form-control")
|
||||
private string? ClassName => CssBuilder.Default("form-control")
|
||||
.AddClass(CssClass).AddClass(ValidCss)
|
||||
.Build();
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -812,7 +812,7 @@ input:disabled,
|
||||
|
||||
/*Textarea*/
|
||||
@media (min-width: 576px) {
|
||||
.row textarea {
|
||||
.row.form-inline textarea.form-control {
|
||||
width: calc(100% - 100px);
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user