Don't make header scroll
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m34s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m34s
This commit is contained in:
@@ -3,8 +3,7 @@ import axios from "axios";
|
|||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import Header from "@/components/text/Header.vue";
|
import Header from "@/components/text/Header.vue";
|
||||||
|
|
||||||
const url =
|
const url = "/gitea/api/v1/users/adamf/activities/feeds?limit=1";
|
||||||
"/gitea/api/v1/users/adamf/activities/feeds?limit=1";
|
|
||||||
|
|
||||||
const feed = ref(null);
|
const feed = ref(null);
|
||||||
const isLoading = ref(true);
|
const isLoading = ref(true);
|
||||||
@@ -39,7 +38,10 @@ onMounted(() => {
|
|||||||
<p>Could not fetch feed. Please try again later.</p>
|
<p>Could not fetch feed. Please try again later.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="feed" class="flex-col justify-center flex">
|
<div
|
||||||
|
v-else-if="feed"
|
||||||
|
class="flex-col justify-center flex overflow-y-scroll"
|
||||||
|
>
|
||||||
<h3>Last git activity</h3>
|
<h3>Last git activity</h3>
|
||||||
<img
|
<img
|
||||||
:src="feed.act_user.avatar_url"
|
:src="feed.act_user.avatar_url"
|
||||||
|
|||||||
@@ -38,10 +38,10 @@ function deletePost() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<Header>{{ post.title }}</Header>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col p-1 overflow-scroll text-left items-start justify-start"
|
class="flex flex-col p-1 overflow-scroll text-left items-start justify-start"
|
||||||
>
|
>
|
||||||
<Header>{{ post.title }}</Header>
|
|
||||||
<small
|
<small
|
||||||
>Created at: {{ new Date(post.createdAt).toLocaleString() }}</small
|
>Created at: {{ new Date(post.createdAt).toLocaleString() }}</small
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ import Consumption from "./Consumption.vue";
|
|||||||
<Time />
|
<Time />
|
||||||
<Timer />
|
<Timer />
|
||||||
<Radio />
|
<Radio />
|
||||||
<CommitHistory class="h-120 overflow-y-scroll" />
|
<CommitHistory class="h-120" />
|
||||||
|
|
||||||
<!-- <Elle class="flex-1" /> -->
|
<!-- <Elle class="flex-1" /> -->
|
||||||
<!-- <MusicPlayer /> -->
|
<!-- <MusicPlayer /> -->
|
||||||
|
|||||||
Reference in New Issue
Block a user