fix(editor): position description toolbar button on left border#136
Open
Rishavraaj wants to merge 2 commits into
Open
fix(editor): position description toolbar button on left border#136Rishavraaj wants to merge 2 commits into
Rishavraaj wants to merge 2 commits into
Conversation
Scope EditorJS toolbar CSS to task description editors only, preventing bleed into detail views. Remove left padding from description containers so the + button sits flush against the left border with text indented. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This reverts commit e16c1a8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
+toolbar button was appearing on the right side of the description field in the task create sheet due to EditorJS'smobile/narrow layout fallback (
right: autowith noleftset)left: 0on.ce-toolbar__actionswith thecontainer's left padding removed (
pl-0) so the button sits on the border without overlapping text[id^="task-description-editor"](matches both the create form and detail view editors) to prevent bleeding intoother EditorJS instances (e.g. deal/company/contact description editors)
Changes
globals.css— Add scoped CSS for task description editors: position toolbar actions on the left, hide the settings/drag button, and indentblock content by
30pxto clear the+buttonTaskForm.tsx— Remove left padding (pl-0) from the description container so the editor starts flush with the borderTaskDetail.tsx— Samepl-0treatment for the task detail description editorTest plan
+button on the left border with placeholder text starting after it