Skip to content

Commit

Permalink
deleted inline styles and added custom min-w-70
Browse files Browse the repository at this point in the history
  • Loading branch information
zebpaa committed Dec 4, 2024
1 parent bcf9421 commit 3999ed7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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,
),
),
)
);
3 changes: 1 addition & 2 deletions frontend/src/pages/snippet/FileToolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ function SnippetName({ snippet }) {
ref={inputRef}
as={AutowidthInput}
autoComplete="off"
className="transition-padding text-center"
style={{ minWidth: '70px' }}
className="transition-padding text-center min-w-70"
id="name"
isInvalid={!!formik.errors.name}
maxLength={30}
Expand Down

0 comments on commit 3999ed7

Please sign in to comment.