Skip to content

Commit 9cdd42b

Browse files
committed
Stage Commit
1 parent 1367d36 commit 9cdd42b

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed

html/bloglist/css/bloglist.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ body {
2929
margin-bottom: 15px;
3030
align-items: center;
3131
flex-direction: row;
32-
3332
justify-content: space-evenly;
3433
}
3534

3635
.blog_card {
3736
display: block;
3837
margin: 0px 50px;
39-
max-height: 300px;
38+
max-height: 250px;
4039
overflow: auto;
4140
box-shadow: -7px 8px 15px -2px #cd8212;
4241
-webkit-box-shadow: -7px 8px 15px -2px #cd8212;
@@ -51,6 +50,7 @@ table .author_name {
5150
border-bottom-left-radius: 10px;
5251
font-weight: 600;
5352
text-align: center;
53+
max-width: 30px;
5454
}
5555

5656
table {
@@ -60,12 +60,22 @@ table {
6060
}
6161

6262
table .cardcontent {
63-
padding: 10px;
63+
padding: 5px 10px;
6464
font-size: 13px;
6565
text-align: justify;
6666
text-justify: inter-word;
6767
}
68+
.cardcontent::-webkit-scrollbar {
69+
display: none;
70+
}
71+
.cardcontent {
72+
overflow: auto;
6873

74+
text-overflow: ellipsis;
75+
display: -webkit-box;
76+
-webkit-line-clamp: 4; /* number of lines to show */
77+
-webkit-box-orient: vertical;
78+
}
6979
table i {
7080
cursor: pointer;
7181
padding-right: 20px;

index.html

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/>
2121
</head>
2222
<body>
23+
<!-- Website Header -->
2324
<header id="header">
2425
<div id="logo_container">
2526
<div id="header_logo">ScriBBler</div>
@@ -43,7 +44,10 @@
4344
<h2>Get Started</h2>
4445
<hr />
4546
</div>
46-
<form action="POST">
47+
<form
48+
action="GET"
49+
onsubmit="window.alert('Submitted'); event.preventDefault();"
50+
>
4751
<div class="input_container">
4852
<div>
4953
<label for="full_name">Full Name</label>
@@ -111,7 +115,10 @@ <h2>Welcome Back!</h2>
111115
<hr />
112116
</div>
113117

114-
<form action="POST">
118+
<form
119+
action="GET"
120+
onsubmit="window.alert('Submitted'); event.preventDefault();"
121+
>
115122
<div class="input_container">
116123
<div>
117124
<label for="signin_user_name">Username</label>
@@ -156,7 +163,10 @@ <h2>Welcome Back!</h2>
156163
<h2>Pen Your Post</h2>
157164
</div>
158165

159-
<form action="POST">
166+
<form
167+
action="GET"
168+
onsubmit="window.alert('Submitted'); event.preventDefault();"
169+
>
160170
<div class="input_container">
161171
<div>
162172
<label for="compose_post_title">Title:</label>
@@ -186,6 +196,7 @@ <h2>Pen Your Post</h2>
186196
</div>
187197
</div>
188198

199+
<!-- Central Components to compose and view all posts -->
189200
<div id="container">
190201
<div class="button_container">
191202
<button
@@ -194,7 +205,11 @@ <h2>Pen Your Post</h2>
194205
>
195206
All Posts
196207
</button>
197-
<button id="btn_create_post" onclick="showComposePostModal()">
208+
<button
209+
id="btn_create_post"
210+
onsubmit=""
211+
onclick="showComposePostModal()"
212+
>
198213
Create Post
199214
</button>
200215
</div>

0 commit comments

Comments
 (0)