From c754fe3a905f9ea292506167c27916230f4c8134 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Thu, 28 Oct 2021 13:30:46 +0800 Subject: [PATCH] fix alt text too wide --- src/Name.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Name.svelte b/src/Name.svelte index 050c61c..57f8c6f 100644 --- a/src/Name.svelte +++ b/src/Name.svelte @@ -166,6 +166,9 @@ width: calc(2.3em - 2px); vertical-align: middle; padding-right: 0.5em; + /* for alt text */ + display: inline-block; + overflow: hidden; } ul:not(:hover) > li.selected, li:hover { background-color: #d9f5ff;