less padding

This commit is contained in:
Julien Calixte
2023-04-10 21:57:21 +02:00
parent 266be28809
commit c53e8dfa88
5 changed files with 9 additions and 12 deletions

View File

@@ -7,7 +7,6 @@ import { RouterLink, RouterView } from 'vue-router'
<div class="wrapper"> <div class="wrapper">
<nav> <nav>
<router-link to="/">Home</router-link> <router-link to="/">Home</router-link>
<router-link to="/about">About</router-link>
</nav> </nav>
</div> </div>
</header> </header>
@@ -17,7 +16,7 @@ import { RouterLink, RouterView } from 'vue-router'
<style scoped> <style scoped>
header { header {
line-height: 1.5; line-height: 1;
max-height: 100vh; max-height: 100vh;
} }

View File

@@ -62,7 +62,6 @@
} }
body { body {
min-height: 100vh;
color: var(--color-text); color: var(--color-text);
background: var(--color-background); background: var(--color-background);
transition: color 0.5s, background-color 0.5s; transition: color 0.5s, background-color 0.5s;

View File

@@ -3,7 +3,7 @@
#app { #app {
max-width: 1280px; max-width: 1280px;
margin: 0 auto; margin: 0 auto;
padding: 2rem; padding: 0 1rem;
font-weight: normal; font-weight: normal;
} }
@@ -26,10 +26,4 @@ a,
display: flex; display: flex;
place-items: center; place-items: center;
} }
#app {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0 2rem;
}
} }

View File

@@ -88,7 +88,12 @@ const isSuperiorToEstimation = computed(() => {
<template> <template>
<main class="task-record" v-if="task"> <main class="task-record" v-if="task">
<h1>Task: {{ task.title }}</h1> <h1>
Task:
<router-link :to="{ name: 'task-view', params: { id: task.id } }">
{{ task.title }}
</router-link>
</h1>
<h2>start time: {{ formatDate(record.start) }}</h2> <h2>start time: {{ formatDate(record.start) }}</h2>
<template v-if="!record.end"> <template v-if="!record.end">
<button <button

View File

@@ -1,7 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
import TaskRecord from '@/modules/record/components/TaskRecord.vue' import TaskRecord from '@/modules/record/components/TaskRecord.vue'
const props = defineProps<{ defineProps<{
taskId: string taskId: string
recordId: string recordId: string
}>() }>()