diff --git a/src/App.vue b/src/App.vue index 10fc45d..5df2415 100644 --- a/src/App.vue +++ b/src/App.vue @@ -53,7 +53,7 @@ onMounted(async () => { - + @@ -220,7 +220,8 @@ function onEnter(e: KeyboardEvent) { .chat { display: flex; flex-direction: column; - height: min(30vh, 560px); + height: 100%; + min-height: 20rem; &__viewport { position: relative; @@ -271,12 +272,10 @@ function onEnter(e: KeyboardEvent) { &__bubble { max-width: min(75%, 640px); min-width: 0; - padding: 6px 10px; - border-radius: 14px; background: rgba(var(--v-theme-on-surface), 0.06); .chat__row--own & { - background: rgba(var(--v-theme-primary), 0.14); + background: rgba(var(--v-theme-primary), 0.35); } } diff --git a/src/components/ExpansionPanel.vue b/src/components/ExpansionPanel.vue index f5d54a7..b39daec 100644 --- a/src/components/ExpansionPanel.vue +++ b/src/components/ExpansionPanel.vue @@ -46,10 +46,18 @@ const open = () => {
{{ title }}
-
+
- + diff --git a/src/components/IssueContent.vue b/src/components/IssueContent.vue index 7219ba6..2fa5d25 100644 --- a/src/components/IssueContent.vue +++ b/src/components/IssueContent.vue @@ -33,7 +33,7 @@ const cancel = () => { @@ -59,9 +59,10 @@ const cancel = () => { overflow-wrap: anywhere; } -.content-sheet:hover { - background-color: rgba(var(--v-theme-on-surface), 0.06); -} +//.content-sheet:hover { +//background-color: rgba(var(--v-theme-on-surface), 0.06); +//} + .v-sheet { transition: padding 0.2s ease-in-out; } diff --git a/src/components/IssueDate.vue b/src/components/IssueDate.vue index 3369ca7..944fd62 100644 --- a/src/components/IssueDate.vue +++ b/src/components/IssueDate.vue @@ -49,7 +49,6 @@ const cancel = () => { () const createdAtFormatted = computed(() => { if (!issue.value?.createdAt) return '' - return new Intl.DateTimeFormat('ru-RU', { dateStyle: 'medium', timeStyle: 'short' }).format( - new Date(issue.value.createdAt), - ) + return new Date(issue.value.createdAt).toLocaleString('ru-RU') }) async function fetch() { @@ -101,62 +99,97 @@ defineExpose({ diff --git a/src/components/IssueTitle.vue b/src/components/IssueTitle.vue index 692cd1c..97af3ba 100644 --- a/src/components/IssueTitle.vue +++ b/src/components/IssueTitle.vue @@ -33,7 +33,7 @@ const cancel = () => { @@ -56,9 +56,9 @@ const cancel = () => { diff --git a/src/main.ts b/src/main.ts index ba9bc2d..617fb14 100644 --- a/src/main.ts +++ b/src/main.ts @@ -75,6 +75,9 @@ const vuetify = createVuetify({ density: 'compact', hideDetails: true, }, + VCard: { + elevation: 0, + }, }, }) diff --git a/src/router/index.ts b/src/router/index.ts index a64b0e8..b53d2a4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -16,6 +16,7 @@ declare module 'vue-router' { breadcrumb?: string | ((route: RouteLocationNormalizedLoaded) => string) /** Named route the back button should navigate to, when deep-linking means history may be empty. */ backTo?: string + fluid?: boolean } } @@ -25,7 +26,7 @@ const router = createRouter({ { path: '/', component: HomeView, - meta: { layout: 'Default' }, + meta: { layout: 'Default', fluid: false }, }, { name: 'sign-in', diff --git a/src/router/issues.ts b/src/router/issues.ts index c09dfcb..22dc833 100644 --- a/src/router/issues.ts +++ b/src/router/issues.ts @@ -20,6 +20,7 @@ export const issuesRoutes: RouteRecordRaw = { meta: { breadcrumb: (route) => route.params.ckey as string, backTo: 'issues', + fluid: false, }, }, ], diff --git a/src/views/Issues/IssueView.vue b/src/views/Issues/IssueView.vue index 4acea0d..302239b 100644 --- a/src/views/Issues/IssueView.vue +++ b/src/views/Issues/IssueView.vue @@ -24,7 +24,7 @@ watchEffect(async () => fetch()) diff --git a/src/views/Issues/IssuesListView.vue b/src/views/Issues/IssuesListView.vue index 5688902..12536f2 100644 --- a/src/views/Issues/IssuesListView.vue +++ b/src/views/Issues/IssuesListView.vue @@ -183,7 +183,7 @@ async function onDeleteBatch() {