From 48276e24676a471f6bed91fb8ac4592d911b3cd5 Mon Sep 17 00:00:00 2001 From: wangxinwei Date: Tue, 3 Mar 2020 11:29:53 +0800 Subject: [PATCH] Add extra enumeration large size to bootstrap modal --- .../TagHelpers/Modal/AbpModalSize.cs | 3 ++- .../TagHelpers/Modal/AbpModalSizeExtensions.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSize.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSize.cs index ce33f4e073..fae811f79d 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSize.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSize.cs @@ -4,6 +4,7 @@ { Default, Small, - Large + Large, + ExtraLarge } } \ No newline at end of file diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSizeExtensions.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSizeExtensions.cs index ca58dd918e..faf89abc18 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSizeExtensions.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Modal/AbpModalSizeExtensions.cs @@ -10,6 +10,8 @@ return "modal-sm"; case AbpModalSize.Large: return "modal-lg"; + case AbpModalSize.ExtraLarge: + return "modal-xl"; case AbpModalSize.Default: return ""; default: