From 02f55c5419630266fe1b79dcdc23e27e77fe09aa Mon Sep 17 00:00:00 2001 From: Lena05k Date: Wed, 15 Nov 2023 11:25:12 +0300 Subject: [PATCH 1/2] Made the warning tooltip wider --- frontend/src/pages/snippet/FileToolbar.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/snippet/FileToolbar.jsx b/frontend/src/pages/snippet/FileToolbar.jsx index 2bf6342f..46d4c207 100644 --- a/frontend/src/pages/snippet/FileToolbar.jsx +++ b/frontend/src/pages/snippet/FileToolbar.jsx @@ -10,6 +10,8 @@ import { CloudArrowUp, CloudCheck, PencilFill } from 'react-bootstrap-icons'; import Button from 'react-bootstrap/Button'; import Form from 'react-bootstrap/Form'; import Image from 'react-bootstrap/Image'; +import Row from 'react-bootstrap/Row'; +import Col from 'react-bootstrap/Col'; import { useAuth, useSnippets } from '../../hooks'; import { actions } from '../../slices/index.js'; @@ -91,7 +93,7 @@ function SnippetName({ snippet }) { ref={inputRef} as={AutowidthInput} autoComplete="off" - className="transition-padding" + className="transition-padding w-auto" id="name" isInvalid={!!formik.errors.name} maxLength={30} From 990a74a3cd71ad14697e9bcd3ff9eea4b9854ea1 Mon Sep 17 00:00:00 2001 From: Lena05k Date: Wed, 15 Nov 2023 11:28:39 +0300 Subject: [PATCH 2/2] Delete Row, Col --- frontend/src/pages/snippet/FileToolbar.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/pages/snippet/FileToolbar.jsx b/frontend/src/pages/snippet/FileToolbar.jsx index 46d4c207..af7b13a7 100644 --- a/frontend/src/pages/snippet/FileToolbar.jsx +++ b/frontend/src/pages/snippet/FileToolbar.jsx @@ -10,8 +10,6 @@ import { CloudArrowUp, CloudCheck, PencilFill } from 'react-bootstrap-icons'; import Button from 'react-bootstrap/Button'; import Form from 'react-bootstrap/Form'; import Image from 'react-bootstrap/Image'; -import Row from 'react-bootstrap/Row'; -import Col from 'react-bootstrap/Col'; import { useAuth, useSnippets } from '../../hooks'; import { actions } from '../../slices/index.js';