дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
fix(templates): keep postfix descriptions inside their rows (#2116)
Цей коміт міститься в:
1 джерело
63304ec9fe
коміт
558ee395dc
4 files changed
+36
-2
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -81,6 +81,8 @@
|
||||
color: var(--fg-emphasis);
|
||||
}
|
||||
.itemDetail {
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
color: var(--fg-subtle);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
Reference in new issue
Заблокувати користувача