From 32389aea17889ccbcc571a80f24b56ae72e5ef49 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 14 Apr 2021 16:27:16 +0300 Subject: [PATCH] Fixed #1146 - Allow Adding Classes to Dialog Content --- src/components/dialog/Dialog.d.ts | 3 ++- src/components/dialog/Dialog.vue | 6 +++++- src/views/dialog/DialogDoc.vue | 6 ++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/dialog/Dialog.d.ts b/src/components/dialog/Dialog.d.ts index 26041454f..a4ce714ef 100755 --- a/src/components/dialog/Dialog.d.ts +++ b/src/components/dialog/Dialog.d.ts @@ -5,7 +5,8 @@ interface DialogProps { footer?: any; visible?: boolean; modal?: boolean; - contentStyle?: string; + contentStyle?: any; + contentClass?: string; rtl?: boolean; closable?: boolean; dismissableMask?: boolean; diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index 48ed0e3ff..0321f08ab 100755 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -16,7 +16,7 @@ -
+