Skip to content

Commit fbe29fa

Browse files
authored
Merge branch 'recodehive:main' into frontend
2 parents 5ed1684 + 058ea29 commit fbe29fa

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/database/blogs/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const blogs: Blog[] = [
5858
slug: "git-coding-agent",
5959
},
6060
{
61-
id: 6,
61+
id: 7,
6262
title: "Apache Spark Tutorial",
6363
image: "/img/blogs/07-spark-blog-banner.png",
6464
description:

src/pages/blogs/blogs-new.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@
600600
/* Search Container */
601601
.search-container {
602602
max-width: 600px;
603-
margin: 60px auto 0;
603+
margin: 30px auto 30px;
604604
position: relative;
605605
}
606606

@@ -636,7 +636,7 @@
636636
backdrop-filter: blur(30px);
637637
border: 2px solid transparent;
638638
border-radius: 24px;
639-
padding: 20px 28px;
639+
padding:0;
640640
box-shadow:
641641
0 20px 60px rgba(0, 0, 0, 0.08),
642642
0 8px 32px rgba(99, 102, 241, 0.1),
@@ -678,13 +678,18 @@
678678
}
679679

680680
.search-icon {
681+
position: absolute;
682+
left: 16px;
683+
top: 50%;
684+
transform: translateY(-50%);
681685
width: 24px;
682686
height: 24px;
683687
color: #6366f1;
684688
margin-right: 18px;
685689
flex-shrink: 0;
686690
transition: all 0.3s ease;
687691
animation: iconPulse 2s ease-in-out infinite;
692+
pointer-events: none;
688693
}
689694

690695
@keyframes iconPulse {
@@ -714,6 +719,7 @@
714719
font-weight: 500;
715720
letter-spacing: 0.01em;
716721
transition: all 0.2s ease;
722+
padding: 16px 48px 16px 48px;
717723
}
718724

719725
.search-input:focus {
@@ -731,12 +737,15 @@
731737
.search-input::placeholder {
732738
color: #94a3b8;
733739
font-weight: 400;
740+
font-size: 14px;
734741
}
735742

736743
.clear-search-icon {
744+
position: absolute;
745+
right: 16px;
737746
width: 24px;
738747
height: 24px;
739-
color: #94a3b8;
748+
color: #758090;
740749
background: none;
741750
border: none;
742751
cursor: pointer;
@@ -779,6 +788,7 @@
779788
position: relative;
780789
z-index: 1;
781790
transition: transform 0.2s ease;
791+
stroke-width: 2.5;
782792
}
783793

784794
.clear-search-icon:hover svg {

0 commit comments

Comments
 (0)