Skip to content

Commit

Permalink
Merge pull request #570 from zebpaa/task
Browse files Browse the repository at this point in the history
#568 set min width on snippets name input
  • Loading branch information
fey authored Dec 5, 2024
2 parents 226ae9b + 3999ed7 commit dbfea55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion frontend/src/assets/stylesheets/min-w.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ $utilities: map-merge(
"min-width": (
property: min-width,
class: min-w,
values: (150: 9.375rem),
values: (
150: 9.375rem,
70: 4.375rem,
),
),
)
);
2 changes: 1 addition & 1 deletion frontend/src/pages/snippet/FileToolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function SnippetName({ snippet }) {
ref={inputRef}
as={AutowidthInput}
autoComplete="off"
className="transition-padding"
className="transition-padding text-center min-w-70"
id="name"
isInvalid={!!formik.errors.name}
maxLength={30}
Expand Down

0 comments on commit dbfea55

Please sign in to comment.