diff --git a/Source/Blazorise.Bootstrap/BootstrapThemeGenerator.cs b/Source/Blazorise.Bootstrap/BootstrapThemeGenerator.cs index a5f91fd154..236540917f 100644 --- a/Source/Blazorise.Bootstrap/BootstrapThemeGenerator.cs +++ b/Source/Blazorise.Bootstrap/BootstrapThemeGenerator.cs @@ -603,7 +603,7 @@ protected override void GenerateCardStyles( StringBuilder sb, Theme theme, Theme .AppendLine( "}" ); if ( !string.IsNullOrEmpty( options?.ImageTopRadius ) ) - sb.Append( ".card-image-top" ).Append( "{" ) + sb.Append( ".card-img-top" ).Append( "{" ) .Append( $"border-top-left-radius: {options.ImageTopRadius};" ) .Append( $"border-top-right-radius: {options.ImageTopRadius};" ) .AppendLine( "}" ); diff --git a/Source/Blazorise.Bootstrap5/BootstrapThemeGenerator.cs b/Source/Blazorise.Bootstrap5/BootstrapThemeGenerator.cs index c9ebc617a3..20172299ce 100644 --- a/Source/Blazorise.Bootstrap5/BootstrapThemeGenerator.cs +++ b/Source/Blazorise.Bootstrap5/BootstrapThemeGenerator.cs @@ -597,7 +597,7 @@ protected override void GenerateCardStyles( StringBuilder sb, Theme theme, Theme .AppendLine( "}" ); if ( !string.IsNullOrEmpty( options?.ImageTopRadius ) ) - sb.Append( ".card-image-top" ).Append( "{" ) + sb.Append( ".card-img-top" ).Append( "{" ) .Append( $"border-top-left-radius: {options.ImageTopRadius};" ) .Append( $"border-top-right-radius: {options.ImageTopRadius};" ) .AppendLine( "}" );