Skip to content

Commit 6df58c5

Browse files
committed
chore: visual improvements
1 parent d7a9213 commit 6df58c5

File tree

7 files changed

+14
-19
lines changed

7 files changed

+14
-19
lines changed

src/app/src/components/content/ContentCardReview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async function initializeEditor() {
110110
v-else
111111
class="relative w-full h-full"
112112
>
113-
<WarningTooltip v-if="isAutomaticFormattingDetected" />
113+
<AlertMDCFormatting v-if="isAutomaticFormattingDetected" />
114114
<div
115115
ref="diffEditorRef"
116116
class="w-full h-full"

src/app/src/components/content/ContentEditorCode.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async function setContent(document: DatabasePageItem) {
127127

128128
<template>
129129
<div class="relative h-full">
130-
<WarningTooltip v-if="isAutomaticFormattingDetected" />
130+
<AlertMDCFormatting v-if="isAutomaticFormattingDetected" />
131131
<div
132132
ref="editorRef"
133133
class="h-full -ml-3"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<template>
2+
<UAlert
3+
title="Formatting applied to align with MDC syntax standard."
4+
color="info"
5+
variant="soft"
6+
:ui="{ title: 'text-xs', root: 'rounded-none py-2 border-b border-default' }"
7+
/>
8+
</template>

src/app/src/components/shared/WarningTooltip.vue

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/app/src/components/shared/item/ItemBreadcrumb.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const items = computed<BreadcrumbItem[]>(() => {
6969
</script>
7070

7171
<template>
72-
<div class="flex items-center gap-1">
72+
<div class="flex items-center gap-1 overflow-hidden">
7373
<UBreadcrumb
7474
:items="items"
7575
color="neutral"

src/app/src/components/shared/item/ItemCardForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ async function onSubmit() {
242242
<UPageCard
243243
reverse
244244
:class="{ 'animate-pulse': isLoading }"
245-
class="hover:bg-white relative w-full min-w-0 overflow-hidden"
245+
class="hover:bg-elevated/20 relative w-full min-w-0 overflow-hidden"
246246
:ui="{ container: 'overflow-hidden' }"
247247
>
248248
<template #body>

src/app/src/pages/review.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ const statusConfig = {
3838
</script>
3939

4040
<template>
41-
<div class="flex flex-col h-full">
41+
<div class="flex flex-col h-full text-default">
4242
<div class="flex items-center gap-1 px-4 py-2 border-b-[0.5px] border-default bg-muted/70">
43-
<h2 class="text-xs font-semibold">
43+
<h2 class="text-xs font-semibold text-muted">
4444
Review changes
4545
</h2>
4646
<UBadge

0 commit comments

Comments
 (0)