mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-16 21:23:44 +08:00
🐛 fix: Fix text truncation in TableRow component
This commit is contained in:
@@ -50,7 +50,7 @@ async function downloadImage(url, filename) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function TruncatedText(text) {
|
function TruncatedText(text) {
|
||||||
const truncatedText = text.length > 30 ? text.substring(0, 100) + '...' : text;
|
const truncatedText = text.length > 30 ? text.substring(0, 30) + '...' : text;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user