More adaptive ui
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
min-width: 56px;
|
||||||
width: 56px;
|
width: 56px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
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: {
|
author: {
|
||||||
name: 'attronaldo',
|
name: 'attronaldo',
|
||||||
},
|
},
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Unidiscuss - Help students in your university</title>
|
<title>Unidiscuss - Help students in your university</title>
|
||||||
</svelte:head>
|
</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">
|
<div class="flex justify-end mb-5">
|
||||||
<NewQuestion />
|
<NewQuestion />
|
||||||
</div>
|
</div>
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
<span>{discussion.author.name} asked 1 day ago</span>
|
<span>{discussion.author.name} asked 1 day ago</span>
|
||||||
</div>
|
</div>
|
||||||
<Space />
|
<Space />
|
||||||
<div class="discussion-comments">
|
<div class="flex items-center">
|
||||||
<AddComment20 />
|
<AddComment20 />
|
||||||
<span>{discussion.comments}</span>
|
<span>{discussion.comments}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -158,8 +158,4 @@
|
|||||||
color: #586069;
|
color: #586069;
|
||||||
font-size: 12px;;
|
font-size: 12px;;
|
||||||
}
|
}
|
||||||
|
|
||||||
.discussion-comments {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user