Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
Recent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sujeeth AV
Recent
Commits
1aadcb44
Commit
1aadcb44
authored
May 14, 2025
by
Sujeeth AV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input.css
parent
6a9f84e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
33 deletions
+41
-33
Input.css
Todo/src/Components/Input.css
+41
-33
No files found.
Todo/src/Components/Input.css
View file @
1aadcb44
...
...
@@ -47,7 +47,9 @@ li {
margin-bottom
:
0.5rem
;
box-shadow
:
0
1px
rgb
(
217
,
217
,
217
);
}
ul
li
:last-child
{
box-shadow
:
none
;
}
.todo
{
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -59,14 +61,15 @@ li {
align-items
:
center
;
gap
:
12px
;
flex
:
1
;
min-width
:
0
;
/* Added to prevent overflow */
min-width
:
0
;
}
/* Added to prevent checkbox shrinking */
.check
input
[
type
=
"checkbox"
]
{
flex-shrink
:
0
;
}
.check
input
{
border
:
2px
solid
#888
;
}
.task
{
flex
:
1
;
cursor
:
text
;
...
...
@@ -76,6 +79,8 @@ li {
word-break
:
break-word
;
margin-left
:
1rem
;
transition
:
all
0.3s
ease
;
font-size
:
1.5rem
;
color
:
#434343
;
}
.task
[
contenteditable
=
"true"
]
{
...
...
@@ -83,16 +88,9 @@ li {
border-bottom
:
1px
dashed
#aaa
;
padding
:
4px
;
display
:
inline-block
;
min-width
:
0
;
/* Changed from 100% to prevent expansion */
width
:
auto
;
/* Changed from 0 to allow natural width */
flex-grow
:
1
;
/* Added to take available space */
}
.task
[
contenteditable
=
"true"
]
:focus
{
user-select
:
text
;
-webkit-user-select
:
text
;
-moz-user-select
:
text
;
-ms-user-select
:
text
;
min-width
:
0
;
width
:
auto
;
flex-grow
:
1
;
}
input
[
type
=
"checkbox"
]
{
...
...
@@ -101,7 +99,6 @@ input[type="checkbox"] {
appearance
:
none
;
width
:
20px
;
height
:
20px
;
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
outline
:
none
;
cursor
:
pointer
;
...
...
@@ -121,10 +118,10 @@ input[type="checkbox"]:checked {
input
[
type
=
"checkbox"
]
:checked::after
{
content
:
""
;
position
:
absolute
;
left
:
6
px
;
left
:
3
px
;
top
:
2px
;
width
:
6
px
;
height
:
12
px
;
width
:
4
px
;
height
:
8
px
;
border
:
solid
#333
;
border-width
:
0
2px
2px
0
;
transform
:
rotate
(
45deg
);
...
...
@@ -140,13 +137,13 @@ input[type="checkbox"]:checked::after {
transition
:
color
0.2s
ease
;
}
.delete
:hover
{
color
:
#ff4444
;
}
.delete
svg
{
height
:
20px
;
width
:
20px
;
height
:
33px
;
width
:
28px
;
color
:
rgba
(
204
,
204
,
204
,
255
);
}
.delete
svg
:hover
{
color
:
#ff4444
;
}
.merge
{
...
...
@@ -157,11 +154,11 @@ input[type="checkbox"]:checked::after {
.input
{
flex
:
1
;
padding
:
10px
12px
;
border
:
1px
solid
#ddd
;
border-radius
:
6px
;
font-size
:
1rem
;
font-size
:
1
.2
rem
;
transition
:
border
0.2s
ease
;
color
:
#a0a0a0
;
}
.input
:focus
{
...
...
@@ -181,7 +178,7 @@ input[type="checkbox"]:checked::after {
}
.todo.completed
.task
{
text-decoration
:
line-through
;
color
:
#
888
;
color
:
#
434343
;
opacity
:
0.8
;
}
.error-fallback
{
...
...
@@ -195,7 +192,7 @@ input[type="checkbox"]:checked::after {
padding
:
15px
;
}
.task
{
padding
:
4
px
0
10px
;
padding
:
3
px
0
10px
;
}
.merge
{
flex-direction
:
column
;
...
...
@@ -208,8 +205,8 @@ input[type="checkbox"]:checked::after {
}
input
[
type
=
"checkbox"
]
{
width
:
2
0px
;
height
:
2
0px
;
width
:
1
0px
;
height
:
0px
;
}
}
...
...
@@ -224,7 +221,12 @@ button {
text-align
:
center
;
padding
:
2px
;
}
.task
{
font-size
:
1.2rem
;
}
input
[
type
=
"checkbox"
]
:checked::after
{
top
:
1px
;
}
ul
{
word-break
:
break-word
;
max-width
:
340px
;
...
...
@@ -247,10 +249,16 @@ span[contenteditable] {
@media
(
min-width
:
768px
)
{
.check
input
{
height
:
1
.5
rem
;
width
:
1
.5
rem
;
height
:
1rem
;
width
:
1rem
;
}
.todo
{
padding
:
0
1.3rem
0
;
}
input
[
type
=
"checkbox"
]
:checked::after
{
left
:
3px
;
top
:
1px
;
width
:
4px
;
height
:
8px
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment