From 1bbd5f1ab274748007afb49b4c3736acacc427b8 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 10 Jun 2024 15:09:29 +0100 Subject: [PATCH] fix: [TM-43436] Angular bracket "<>" is not in alignment in Quill editor --- .../organisms/quill_editor/quill_toolbar.dart | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/lib/src/components/organisms/quill_editor/quill_toolbar.dart b/lib/src/components/organisms/quill_editor/quill_toolbar.dart index 45c0cd5..4487423 100644 --- a/lib/src/components/organisms/quill_editor/quill_toolbar.dart +++ b/lib/src/components/organisms/quill_editor/quill_toolbar.dart @@ -557,20 +557,16 @@ class ZdsQuillToolbar extends QuillToolbar { ), ), if (showInlineCode) - Column( - children: [ - QuillToolbarToggleStyleButton( - attribute: Attribute.inlineCode, - controller: controller, - options: QuillToolbarToggleStyleButtonOptions( - iconData: Icons.code, - iconSize: toolbarIconSize, - iconTheme: iconTheme, - afterButtonPressed: afterButtonPressed, - tooltip: buttonTooltips[ToolbarButtons.inlineCode], - ), - ), - ], + QuillToolbarToggleStyleButton( + attribute: Attribute.inlineCode, + controller: controller, + options: QuillToolbarToggleStyleButtonOptions( + iconData: Icons.code, + iconSize: toolbarIconSize, + iconTheme: iconTheme, + afterButtonPressed: afterButtonPressed, + tooltip: buttonTooltips[ToolbarButtons.inlineCode], + ), ), if (showDividers) QuillToolbarDivider(axis, color: sectionDividerColor, space: sectionDividerSpace), if (showColorButton)