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

View File

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

View File

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

View File

@@ -88,7 +88,12 @@ const isSuperiorToEstimation = computed(() => {
<template>
<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>
<template v-if="!record.end">
<button

View File

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