Skip to content

Commit

Permalink
fix codes overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Feb 1, 2025
1 parent 73355ba commit 8bc29dd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions interface/windows/codes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const generateCodeElements = (data: LibImportFile) => {
if (settings.settings.codesDescription) {
element.innerHTML = `
<div class="flex flex-row justify-between">
<div class="flex flex-col justify-start mb-3">
<div class="flex">
<p id="name${i}" class="text-2xl font-medium whitespace-nowrap truncate">
<div class="flex flex-col justify-start mb-3 overflow-hidden">
<div class="flex overflow-hidden">
<p id="name${i}" class="text-2xl font-medium whitespace-nowrap truncate overflow-hidden w-full">
${issuers[i]}
</p>
</div>
Expand Down Expand Up @@ -64,9 +64,9 @@ export const generateCodeElements = (data: LibImportFile) => {
} else {
element.innerHTML = `
<div class="flex flex-row justify-between">
<div class="flex flex-col justify-start mb-3">
<div class="flex">
<p id="name${i}" class="text-2xl font-medium whitespace-nowrap truncate">
<div class="flex flex-col justify-start mb-3 overflow-hidden">
<div class="flex overflow-hidden">
<p id="name${i}" class="text-2xl font-medium whitespace-nowrap truncate w-full overflow-hidden">
${issuers[i]}
</p>
</div>
Expand Down

0 comments on commit 8bc29dd

Please sign in to comment.