fix: Use CSS for uppercase text (#22011)

This commit is contained in:
Stewart Rand
2025-09-16 00:28:42 -03:00
committed by GitHub
parent 5fb0afb0d0
commit 0f79e0c38e
40 changed files with 118 additions and 123 deletions

View File

@@ -56,16 +56,16 @@
<section class="my-4">
{#if currentDevice}
<div class="mb-6">
<h3 class="mb-2 text-xs font-medium text-immich-primary dark:text-immich-dark-primary">
{$t('current_device').toUpperCase()}
<h3 class="uppercase mb-2 text-xs font-medium text-immich-primary dark:text-immich-dark-primary">
{$t('current_device')}
</h3>
<DeviceCard device={currentDevice} />
</div>
{/if}
{#if otherDevices.length > 0}
<div class="mb-6">
<h3 class="mb-2 text-xs font-medium text-immich-primary dark:text-immich-dark-primary">
{$t('other_devices').toUpperCase()}
<h3 class="uppercase mb-2 text-xs font-medium text-immich-primary dark:text-immich-dark-primary">
{$t('other_devices')}
</h3>
{#each otherDevices as device, index (device.id)}
<DeviceCard {device} onDelete={() => handleDelete(device)} />
@@ -74,8 +74,8 @@
{/if}
{/each}
</div>
<h3 class="mb-2 text-xs font-medium text-immich-primary dark:text-immich-dark-primary">
{$t('log_out_all_devices').toUpperCase()}
<h3 class="uppercase mb-2 text-xs font-medium text-immich-primary dark:text-immich-dark-primary">
{$t('log_out_all_devices')}
</h3>
<div class="flex justify-end">
<Button shape="round" color="danger" size="small" onclick={handleDeleteAll}>{$t('log_out_all_devices')}</Button>

View File

@@ -158,8 +158,8 @@
<!-- I am sharing my assets with this user -->
{#if partner.sharedByMe}
<hr class="my-4 border border-gray-200 dark:border-gray-700" />
<p class="text-xs font-medium my-4">
{$t('shared_with_partner', { values: { partner: partner.user.name } }).toUpperCase()}
<p class="uppercase text-xs font-medium my-4">
{$t('shared_with_partner', { values: { partner: partner.user.name } })}
</p>
<p class="text-md">{$t('partner_can_access', { values: { partner: partner.user.name } })}</p>
<ul class="text-sm">
@@ -177,8 +177,8 @@
<!-- this user is sharing assets with me -->
{#if partner.sharedWithMe}
<hr class="my-4 border border-gray-200 dark:border-gray-700" />
<p class="text-xs font-medium my-4">
{$t('shared_from_partner', { values: { partner: partner.user.name } }).toUpperCase()}
<p class="uppercase text-xs font-medium my-4">
{$t('shared_from_partner', { values: { partner: partner.user.name } })}
</p>
<SettingSwitch
title={$t('show_in_timeline')}