More adaptive ui

This commit is contained in:
rotimi_best
2020-12-26 19:14:04 +02:00
parent 07eee38dae
commit 8a81ef0f09
2 changed files with 4 additions and 7 deletions
+1
View File
@@ -16,6 +16,7 @@
display: flex;
flex-direction: column;
align-items: center;
min-width: 56px;
width: 56px;
justify-content: center;
margin-right: 10px;
+3 -7
View File
@@ -20,7 +20,7 @@
},
{
id: 2,
title: 'Where do I find the nearest restaurant?',
title: 'Where do I find the nearest restaurant. Where do I find the nearest restaurant?. Where do I find the nearest restaurant? Where do I find the nearest restaurant?',
author: {
name: 'attronaldo',
},
@@ -115,7 +115,7 @@
<svelte:head>
<title>Unidiscuss - Help students in your university</title>
</svelte:head>
<div class="md:w-1/2 mx-auto md:mb-20">
<div class="md:w-3/4 mx-auto md:mb-20 md:pr-5">
<div class="flex justify-end mb-5">
<NewQuestion />
</div>
@@ -127,7 +127,7 @@
<span>{discussion.author.name} asked 1 day ago</span>
</div>
<Space />
<div class="discussion-comments">
<div class="flex items-center">
<AddComment20 />
<span>{discussion.comments}</span>
</div>
@@ -158,8 +158,4 @@
color: #586069;
font-size: 12px;;
}
.discussion-comments {
display: flex;
}
</style>