fix(templates): keep postfix descriptions inside their rows (#2116)

Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-08 16:17:47 +08:00
1 джерело 63304ec9fe
коміт 558ee395dc
4 files changed
+36 -2

No files matched your search

+3 -1
Переглянути файл
@@ -112,7 +112,9 @@ export function LiveTemplatesPage() {
<span className={clsx(styles.itemLabel, isModifiedBuiltin(t.id) && styles.modified)}>
{t.abbrev}
</span>
<span className={styles.itemDetail}>{t.description}</span>
<span className={styles.itemDetail} title={t.description}>
{t.description}
</span>
</div>
))}
</div>
+3 -1
Переглянути файл
@@ -63,7 +63,9 @@ export function PostfixPage() {
aria-label={tx`Enable .${t.key}`}
/>
<span className={styles.mono}>.{t.key}</span>
<span className={styles.itemDetail}>{t.description}</span>
<span className={styles.itemDetail} title={t.description}>
{t.description}
</span>
</div>
))}
</div>
+2
Переглянути файл
@@ -81,6 +81,8 @@
color: var(--fg-emphasis);
}
.itemDetail {
min-width: 0;
white-space: nowrap;
color: var(--fg-subtle);
overflow: hidden;
text-overflow: ellipsis;