33 <k-panel-inside >
44 <k-header class =" k-site-view-header" >Mastodon Feed
55 <k-button-group slot =" buttons" >
6- <k-button
6+ <k-button
77 icon =" refresh"
88 variant =" filled"
9- theme =" green -icon"
9+ theme =" blue -icon"
1010 size =" sm"
1111 text =" Refresh Feed"
1212 @click =" refreshFeedCache"
6666
6767 <div v-if =" originalStatus(item)" class =" k-item-content" >
6868 <div class =" k-item-title" v-html =" originalStatus(item).content" />
69- <p class =" k-item-info" >{{ formatDate(originalStatus(item).created_at || item.date) }}</p >
69+ <div class =" k-mastodon-meta k-item-info" >
70+ {{ formatDate(originalStatus(item).created_at || item.date) }}
71+ <span v-if =" item.applicationName" >• {{ item.applicationName }}</span >
72+ </div >
7073 </div >
7174
7275 <k-bar class =" k-mastodon-item-details" >
73- <k-box icon =" replies" style =" --columns : 1 ; gap : 0.25rem " :text =" item.repliesCount" />
74- <k-box icon =" boosts " style =" --columns : 1 ; gap : 0.25rem " :text =" item.reblogsCount " />
75- <k-box icon =" heart-filled " style =" --columns : 1 ; gap : 0.25rem " :text =" item.favouritesCount " />
76+ <k-box icon =" replies" style =" --columns : 2 ; gap : 0.25rem ; justify-content : center " :text =" item.repliesCount" />
77+ <k-box icon =" star " style =" --columns : 2 ; gap : 0.25rem ; justify-content : center " :text =" item.favouritesCount " />
78+ <k-box icon =" boost " style =" --columns : 2 ; gap : 0.25rem ; justify-content : center " :text =" item.reblogsCount " />
7679 </k-bar >
7780
7881 </div >
7982 </div >
8083 </div >
8184 </k-section >
82-
83- <k-section ><pre >{{ items }}</pre ></k-section >
8485 </k-panel-inside >
8586 </div >
8687</template >
@@ -219,11 +220,7 @@ export default {
219220}
220221
221222.k - mastodon- toot {
222- background: var (-- item- color- back);
223- border- radius: var (-- rounded);
224- box- shadow: var (-- item- shadow);
225- min- height: var (-- item- height);
226- container- type: inline- size;
223+ position: relative;
227224}
228225
229226.k - mastodon- boost- header {
@@ -245,10 +242,22 @@ export default {
245242 overflow- wrap: break - word;
246243}
247244
245+ .k - mastodon- toot .k - item- content p {
246+ margin- bottom: var (-- spacing- 3 );
247+ }
248+
248249.k - mastodon- item- details {
249250 border- top: 1px solid light- dark (var (-- color- gray- 250 ), var (-- color- gray- 800 ));
251+ gap: 0 .1rem ;
250252 margin- top: var (-- spacing- 8 );
251- padding: var (-- spacing- 6 ) var (-- spacing- 6 );
253+ padding: var (-- spacing- 6 ) var (-- spacing- 2 );
254+ position: absolute;
255+ bottom: 0 ;
252256 width: 100 % ;
253257}
254- < / style>
258+
259+ .k - mastodon- meta {
260+ padding- top: var (-- spacing- 1 );
261+ padding- bottom: 4rem ;
262+ }
263+ < / style>
0 commit comments