Skip to content

Commit

Permalink
Merge pull request #1789 from ever-co/bug/labels-button-width-when-no…
Browse files Browse the repository at this point in the history
…-value

fixed the label button width when has no value, in timer and profile …
  • Loading branch information
evereq authored Nov 15, 2023
2 parents b088bc6 + efb13b3 commit 4f4552b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const AssignTaskFormModal: FC<Props> = function AssignTaskFormModal({
}
containerStyle={{
...styles.labelsContainer,
width: "100%",
width: newTask?.tags.length ? "100%" : width / 3.3,
borderColor: colors.border,
marginVertical: 20,
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const TimerTaskSection = observer(
task={activeTask}
containerStyle={{
...styles.sizeContainer,
width: "100%",
width: activeTask?.tags.length ? "100%" : 160,
borderColor: colors.border,
marginVertical: 20,
}}
Expand Down

0 comments on commit 4f4552b

Please sign in to comment.