Jelajahi Sumber

Fix Vietnamese Text Display

### Description

This pull request addresses an issue with the display of Vietnamese text by modifying the font-family property. Previously, Vietnamese text might not have been rendered correctly due to the absence of a fallback font. This change adds a fallback font option to ensure proper display across various environments.

### Code Changes

```diff
- font-family: 'Inter var' !important;
+ font-family: 'Inter var', sans-serif !important;
```

### Testing

To ensure that the display of Vietnamese text is fixed, the following steps were taken:

1. Applied the code change locally.
2. Loaded the application with Vietnamese text content.
3. Verified that Vietnamese text is displayed correctly without any rendering issues.
4. Ensured that the change did not adversely affect the display of text in other languages.

This change has been tested and confirmed to resolve the issue with Vietnamese text display.
Hai Nguyen 1 tahun lalu
induk
melakukan
a7fed3b66a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/assets/css/tailwind.css

+ 2 - 2
src/assets/css/tailwind.css

@@ -37,7 +37,7 @@ html.dark {
 }
 
 body, :host {
-  font-family: 'Inter var' !important;
+  font-family: 'Inter var', sans-serif !important;
   font-size: 16px !important;
   font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
   @apply bg-gray-50 dark:bg-gray-900 leading-normal;
@@ -131,4 +131,4 @@ pre {
 
 .input-label {
   @apply ml-1 text-sm text-gray-600 dark:text-gray-200;
-}
+}