Commit 64467a6 Simon Bjerre
committed
1 parent e506bd9 commit 64467a6 Copy full SHA for 64467a6
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ async function AnnoucementPosts() {
38
38
var posts = await AnnoucementPosts ( ) ;
39
39
40
40
const Annoucements : React . FC = ( ) => {
41
- return < div >
41
+ return < div className = "min-h-[200px]" >
42
42
{ posts . slice ( 0 , 2 ) . map ( post =>
43
43
< div className = "p-2 mt-2 mb-4 hover:bg-white dark:hover:bg-black hover:brightness-[95%]" >
44
44
< a href = { 'https://forum.vatsim-scandinavia.org/d/' + post . slug } target = "_blank" >
@@ -51,7 +51,7 @@ const Annoucements: React.FC = () => {
51
51
52
52
</ div >
53
53
</ div >
54
- < div className = "w-[10%] text-grey text-right dark:text-white" >
54
+ < div className = "text-grey text-right dark:text-white" >
55
55
{ new Date ( post . created ) . toLocaleDateString ( ) }
56
56
</ div >
57
57
</ div >
You can’t perform that action at this time.
0 commit comments