diff --git a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/MainTitle.tsx b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/MainTitle.tsx index 9a0b53fc5..ff661d9ac 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/MainTitle.tsx +++ b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/MainTitle.tsx @@ -17,9 +17,9 @@ type MainTitleProps = { crossed?: boolean } -export const MainTitle: React.FC = ({ children, highlight = false, crossed = false }) => { +export const MainTitle: React.FC = ({ children, highlight = false, crossed = false, ...props }) => { return ( - + {children} ) diff --git a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/TextAreaInput.tsx b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/TextAreaInput.tsx index cc6354a99..bb06479de 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/TextAreaInput.tsx +++ b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/TextAreaInput.tsx @@ -5,9 +5,9 @@ const StyledTextArea = styled.textarea` background-color: transparent; border: none; color: inherit; - font-size: 1rem; + font-size: 0.98rem; font-weight: 400; - margin-left: 6px; + margin-left: 2px; outline: none; overflow: hidden; resize: none; diff --git a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/svg/CheckBoxElementsDefs.scss b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/svg/CheckBoxElementsDefs.scss index 13e82324b..783b06ee9 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/svg/CheckBoxElementsDefs.scss +++ b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/common/components/svg/CheckBoxElementsDefs.scss @@ -23,7 +23,7 @@ $transition-duration: 750ms; bottom: 0; cursor: pointer; fill: none; - height: 22px; + height: 19px; left: 0; margin: auto; position: absolute; @@ -32,7 +32,7 @@ $transition-duration: 750ms; stroke-width: 2; stroke: var(--sn-stylekit-neutral-color); top: 0; - width: 22px; + width: 19px; } .align-baseline { diff --git a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/CreateTask.tsx b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/CreateTask.tsx index 1e41ec188..46c667c9f 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/CreateTask.tsx +++ b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/CreateTask.tsx @@ -6,18 +6,12 @@ import { useAppDispatch, useAppSelector, useDebouncedCallback } from '../../app/ import { GroupModel, taskAdded, tasksGroupDraft } from './tasks-slice' import { TextInput } from '../../common/components' -import { DottedCircleIcon } from '../../common/components/icons' import { isLastActiveGroup } from '../../common/utils' const Container = styled.div` align-items: center; display: flex; margin-bottom: 8px; - - & > *:first-child { - margin-left: 1px; - margin-right: 9px; - } ` type CreateTaskProps = { @@ -67,7 +61,6 @@ const CreateTask: React.FC = ({ group }) => { return ( - ` background-color: var(--sn-stylekit-background-color); border: 1px solid var(--sn-stylekit-border-color); - border-radius: 8px; + border-radius: 4px; box-sizing: border-box; padding: 16px; margin-bottom: ${({ isLast }) => (!isLast ? '9px' : '0px')}; @@ -85,12 +85,7 @@ const TaskGroup: React.FC = ({ >
- {canEdit && ( -
- -
- )} - + {groupName} diff --git a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/index.tsx b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/index.tsx index 4663cfd2f..15b98a08e 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/index.tsx +++ b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/index.tsx @@ -21,12 +21,8 @@ import { CheckBoxElementsDefs } from './common/components/svg' import { getPlainPreview } from './common/utils' const MainContainer = styled.div` - margin: 16px; + margin: 6px; padding-bottom: 60px; - - @media only screen and (max-width: 600px) { - margin: 8px; - } ` const FloatingContainer = styled.div`