Skip to content

Commit

Permalink
Merge pull request #40 from TanishqMehrunkarIIPSDAVV/update-qd
Browse files Browse the repository at this point in the history
Update qd
  • Loading branch information
nishant0708 authored Sep 19, 2024
2 parents 148e355 + b006d2b commit d069005
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ const App = () => {
</>
)}



{/* Error404 Route */}
<Route path="/*" element={<Error404/>}/>
</Routes>
Expand Down
23 changes: 13 additions & 10 deletions src/QuestionPaperDashboard/QuestionPaperDashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,21 @@
{
color: rgb(4, 231, 4);
}
.question_paper_h3{
margin: 0px;
}
.description
.description,
.question_paper_h3
{
line-clamp: 2;
width: 80%;
width: 80%; /* Adjust the width as needed */
line-clamp: 1;
overflow: hidden;
text-overflow: ellipsis;
text-overflow: ellipsis; /* Ensures the '...' is shown */
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-line-clamp: 1; /* Limits the text to 2 lines */
-webkit-box-orient: vertical;
word-wrap: break-word; /* Prevents overflow */
}
.question_paper_h3
{
margin:0;
}
.question-image
{
Expand Down Expand Up @@ -154,7 +157,7 @@ font-size: 18px;
}
@media(max-width : 1000px)
{
.description
.description,.question_paper_h3
{
width: 70%;
}
Expand All @@ -171,7 +174,7 @@ font-size: 18px;
justify-content: center;
text-align: center;
}
.description
.description,.question_paper_h3
{
width: 60%;
}
Expand Down

0 comments on commit d069005

Please sign in to comment.