فهرست منبع

Merge pull request #1033 from pixelfed/frontend-ui-refactor

Frontend ui refactor
daniel 6 سال پیش
والد
کامیت
1206c5a5a5
3فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 1 1
      config/pixelfed.php
  2. 4 1
      resources/assets/js/components/PostComments.vue
  3. 1 1
      resources/lang/cs/site.php

+ 1 - 1
config/pixelfed.php

@@ -23,7 +23,7 @@ return [
     | This value is the version of your PixelFed instance.
     |
     */
-    'version' => '0.8.0rc1',
+    'version' => '0.8.0',
 
     /*
     |--------------------------------------------------------------------------

+ 4 - 1
resources/assets/js/components/PostComments.vue

@@ -17,7 +17,7 @@
   <div class="postCommentsContainer d-none">
     <p class="mb-1 text-center load-more-link d-none"><a href="#" class="text-muted" v-on:click="loadMore">Load more comments</a></p>
     <div class="comments" data-min-id="0" data-max-id="0">
-      <p v-for="(reply, index) in results" class="mb-0 d-flex justify-content-between align-items-top read-more" style="overflow-y: hidden;">
+      <p v-for="(reply, index) in results" class="mb-1 d-flex justify-content-between align-items-top read-more" style="overflow-y: hidden;">
         <span>
           <a class="text-dark font-weight-bold mr-1" :href="reply.account.url" v-bind:title="reply.account.username">{{truncate(reply.account.username,15)}}</a>
           <span class="text-break" v-html="reply.content"></span>
@@ -39,6 +39,9 @@
   .text-break {
     word-break: break-all !important;
   }
+  .comments p {
+    margin-bottom: 0;
+  }
 </style>
 
 <script>

+ 1 - 1
resources/lang/cs/site.php

@@ -5,7 +5,7 @@ return [
 	'about'			=> 'O nás',
 	'help'			=> 'Nápověda',
 	'language'		=> 'Jazyk',
-	'fediverse'		=> 'Fediverse',
+	'fediverse'		=> 'Fedivesmír',
 	'opensource'	=> 'Otevřený zdroj',
 	'terms'			=> 'Podmínky',
 	'privacy'		=> 'Soukromí',