Remove signature btn html and add padding to ToolbarRichTextWebBuilder
This commit is contained in:
@@ -64,9 +64,7 @@ class ComposerView extends GetWidget<ComposerController>
|
||||
Expanded(child: Column(
|
||||
children: [
|
||||
_buildAttachmentsWidget(context),
|
||||
ToolbarRichTextWebBuilder(
|
||||
richTextWebController: controller.richTextWebController,
|
||||
padding: const EdgeInsets.only(left: 20, top: 8, bottom: 8)),
|
||||
ToolbarRichTextWebBuilder(richTextWebController: controller.richTextWebController),
|
||||
buildInlineLoadingView(controller),
|
||||
_buildEditorForm(context)
|
||||
]
|
||||
|
||||
@@ -36,7 +36,7 @@ class ToolbarRichTextWebBuilder extends StatelessWidget with RichTextButtonMixin
|
||||
final opacity = codeViewEnabled ? 0.5 : 1.0;
|
||||
|
||||
return Container(
|
||||
padding: padding,
|
||||
padding: padding ?? const EdgeInsets.only(left: 20, top: 8, bottom: 8),
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Wrap(
|
||||
crossAxisAlignment: WrapCrossAlignment.center,
|
||||
|
||||
@@ -232,11 +232,6 @@ class IdentityCreatorView extends GetWidget<IdentityCreatorController> {
|
||||
color: AppColor.colorContentEmail,
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Row(mainAxisAlignment: MainAxisAlignment.end, children: [
|
||||
_buildSignatureButton(context)
|
||||
]),
|
||||
)
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
@@ -253,7 +248,7 @@ class IdentityCreatorView extends GetWidget<IdentityCreatorController> {
|
||||
),
|
||||
if (_responsiveUtils.isTablet(context) || _responsiveUtils.isMobile(context))...[
|
||||
Obx(() => Padding(
|
||||
padding: const EdgeInsets.only(top: 27, bottom: 135),
|
||||
padding: const EdgeInsets.only(top: 27),
|
||||
child: SetDefaultIdentityCheckboxBuilder(
|
||||
imagePaths: _imagePaths,
|
||||
isCheck: controller.isDefaultIdentity.value,
|
||||
@@ -361,18 +356,6 @@ class IdentityCreatorView extends GetWidget<IdentityCreatorController> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildSignatureButton(BuildContext context) {
|
||||
return buildButtonWrapText(
|
||||
AppLocalizations.of(context).html,
|
||||
textStyle: const TextStyle(
|
||||
fontWeight: FontWeight.w500,
|
||||
fontSize: 14,
|
||||
color: AppColor.colorContentEmail),
|
||||
bgColor: AppColor.emailAddressChipColor,
|
||||
height: 30,
|
||||
radius: 10);
|
||||
}
|
||||
|
||||
Widget _buildSignatureHtmlTemplate(BuildContext context) {
|
||||
final htmlEditor = BuildUtils.isWeb
|
||||
? _buildHtmlEditorWeb(context, controller.contentHtmlEditor ?? '')
|
||||
|
||||
Reference in New Issue
Block a user