File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
src/BootstrapBlazor/Components/Upload Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2323 <i class =" @UploadIcon" ></i >
2424 }
2525 </div >
26- <div class =" upload-drop-text " >
26+ <div class =" @TextClassString " >
2727 @if (TextTemplate != null )
2828 {
2929 @TextTemplate
Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ public partial class DropUpload
7777
7878 private string ? BodyClassString => CssBuilder . Default ( "upload-drop-body" )
7979 . AddClass ( "btn-browser" , ! IsDisabled )
80+ . AddClass ( "disabled" , IsDisabled )
81+ . Build ( ) ;
82+
83+ private string ? TextClassString => CssBuilder . Default ( "upload-drop-text" )
84+ . AddClass ( "text-muted" , IsDisabled )
8085 . Build ( ) ;
8186
8287 /// <summary>
Original file line number Diff line number Diff line change 310310 height : var (--bb-upload-drop-height );
311311 cursor : pointer ;
312312
313+ & .disabled {
314+ border-color : var (--bs-border-color );
315+ }
316+
313317 .upload-drop-icon > i {
314318 font-size : 3em ;
315319 color : var (--bs-secondary );
You can’t perform that action at this time.
0 commit comments