Skip to content

Commit b71a2da

Browse files
Added margin top and search bar to the IMessage
1 parent b522cc7 commit b71a2da

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

app/routes/components/IMessage.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ export default function IMessage({ onClose , dayState, monthState, dateState, c
5353
<div className='Message-holder'>
5454
<span className='Message-content'>Hope you have a great time exploring my site welcome back and enjoy!</span>
5555
</div>
56-
56+
<div className='Search-bar-container'>
57+
<input type="text" className="search-bar" placeholder="iMessage" />
58+
</div>
5759
</div>
5860
</div>
5961
</div>

app/routes/styles/IMessage.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,30 @@
191191
color:rgba(255, 255, 255, 0.9);
192192
font-size: 0.8rem;
193193
}
194+
195+
.IMessage-container{
196+
display: flex;
197+
flex-direction: column;
198+
height: 85%;
199+
}
200+
.search-bar{
201+
width:100%;
202+
height: 26px;
203+
padding: 4px 8px; /* adds some internal spacing */
204+
border-radius: 999px; /* fully rounded */
205+
border: 1px solid #ccc;
206+
font-size: 12px;
207+
box-sizing: border-box; /* ensures padding doesn't break layout */
208+
}
209+
.Search-bar-container{
210+
display: flex;
211+
justify-content: center;
212+
align-items: center;
213+
margin-top:auto;
214+
width: 93%;
215+
margin-left: auto;
216+
margin-right: auto;
217+
}
194218
.sidebar__buttons-min.active {
195219
background-color: #a5a0a0 !important;
196220
}

0 commit comments

Comments
 (0)