Skip to content

Commit cab8ace

Browse files
committed
fix(gmail-tools): refine popup cards text styles
1 parent 6cee604 commit cab8ace

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

components/IconSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
>
66
<div
77
ref="selectorRef"
8-
:class="['flex items-center gap-1 cursor-pointer text-sm py-0 pl-2 pr-1 h-6', containerClass]"
8+
:class="['flex items-center gap-1 cursor-pointer text-xs leading-4 font-medium py-0 pl-2 pr-1 h-6', containerClass]"
99
:disabled="disabled"
1010
@click="toggleDropdown"
1111
>

entrypoints/content/components/GmailTools/GmailComposeCard.vue

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
<div>
33
<div class="card min-w-80 max-w-110 text-xs">
44
<div class="title flex items-center justify-between h-9 px-3">
5-
<Text
6-
size="small"
7-
display="block"
8-
>
9-
<div class="flex items-center gap-2">
10-
<SettingsEmailIcon />
11-
{{ t('gmail_tools.cards.compose.title') }}
12-
</div>
13-
</Text>
5+
<div class="flex items-center gap-1 text-xs font-medium leading-4">
6+
<SettingsEmailIcon />
7+
{{ t('gmail_tools.cards.compose.title') }}
8+
</div>
149
<button
1510
class="text-[#71717A] cursor-pointer p-1 hover:bg-gray-100 rounded"
1611
@click="emit('close')"

entrypoints/content/components/GmailTools/GmailReplyCard.vue

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
<div>
33
<div class="card min-w-80 max-w-110 text-xs">
44
<div class="title flex items-center justify-between h-9 px-3">
5-
<Text
6-
size="small"
7-
display="block"
8-
>
9-
<div class="flex items-center gap-2">
10-
<ReplySuggestionIcon />
11-
{{ t('gmail_tools.cards.reply.title') }}
12-
</div>
13-
</Text>
5+
<div class="flex items-center gap-1 text-xs font-medium leading-4">
6+
<ReplySuggestionIcon />
7+
{{ t('gmail_tools.cards.reply.title') }}
8+
</div>
149
<button
1510
class="text-[#71717A] cursor-pointer p-1 hover:bg-gray-100 rounded"
1611
@click="emit('close')"

0 commit comments

Comments
 (0)