mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-14 02:38:58 +02:00
Remove rounded corners from dialogs and task input fields
Update DialogContent component to remove rounded corners by setting `rounded-none` class. Modify TaskFormInline component in Tasks.tsx to remove `borderRadius: '6px'` and set `borderRadius: '0px'` for various input elements and buttons. Also, change the default value of the 'assignedTo' input field from 'admin' to an empty string. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d7bae60c-959e-464e-9a81-d3f674984466 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d7bae60c-959e-464e-9a81-d3f674984466/JW835E1
This commit is contained in:
1 parent
f41e33c896
commit
fe20a21885
3 files changed
+15
-15
No files matched your search
@@ -38,7 +38,7 @@ const DialogContent = forwardRef<
|
||||
<DialogPrimitive.Content
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
||||
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-none",
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
|
||||
+13
-13
@@ -142,7 +142,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
float: 'right',
|
||||
padding: '8px 16px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
backgroundColor: 'white',
|
||||
cursor: 'pointer'
|
||||
}}
|
||||
@@ -166,7 +166,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px'
|
||||
}}
|
||||
/>
|
||||
@@ -185,7 +185,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px',
|
||||
resize: 'vertical'
|
||||
}}
|
||||
@@ -204,7 +204,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px'
|
||||
}}
|
||||
>
|
||||
@@ -225,7 +225,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px'
|
||||
}}
|
||||
>
|
||||
@@ -248,7 +248,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px'
|
||||
}}
|
||||
/>
|
||||
@@ -266,7 +266,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px'
|
||||
}}
|
||||
/>
|
||||
@@ -280,14 +280,14 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
<input
|
||||
name="assignedTo"
|
||||
type="text"
|
||||
defaultValue={task?.assignedTo || "admin"}
|
||||
defaultValue={task?.assignedTo || ""}
|
||||
placeholder="Nom de la personne assignée"
|
||||
required
|
||||
style={{
|
||||
width: '100%',
|
||||
padding: '8px 12px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
fontSize: '14px'
|
||||
}}
|
||||
/>
|
||||
@@ -300,7 +300,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
style={{
|
||||
padding: '8px 16px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
backgroundColor: 'white',
|
||||
cursor: 'pointer'
|
||||
}}
|
||||
@@ -312,7 +312,7 @@ function TaskFormInline({ task, onClose }: any) {
|
||||
style={{
|
||||
padding: '8px 16px',
|
||||
border: 'none',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
backgroundColor: '#3b82f6',
|
||||
color: 'white',
|
||||
cursor: 'pointer'
|
||||
@@ -1361,7 +1361,7 @@ export default function Tasks() {
|
||||
style={{
|
||||
padding: '8px 16px',
|
||||
border: '1px solid #d1d5db',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
backgroundColor: 'white',
|
||||
cursor: 'pointer'
|
||||
}}
|
||||
@@ -1373,7 +1373,7 @@ export default function Tasks() {
|
||||
style={{
|
||||
padding: '8px 16px',
|
||||
border: 'none',
|
||||
borderRadius: '6px',
|
||||
borderRadius: '0px',
|
||||
backgroundColor: '#dc2626',
|
||||
color: 'white',
|
||||
cursor: 'pointer',
|
||||
|
||||
Reference in new issue
Block a user