fix(app): use smaller close icon on tabs to match comment cards
This commit is contained in:
@@ -38,8 +38,9 @@ export function SortableTab(props: { tab: string; onTabClose: (tab: string) => v
|
|||||||
closeButton={
|
closeButton={
|
||||||
<Tooltip value={language.t("common.closeTab")} placement="bottom">
|
<Tooltip value={language.t("common.closeTab")} placement="bottom">
|
||||||
<IconButton
|
<IconButton
|
||||||
icon="close"
|
icon="close-small"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
class="h-5 w-5"
|
||||||
onClick={() => props.onTabClose(props.tab)}
|
onClick={() => props.onTabClose(props.tab)}
|
||||||
aria-label={language.t("common.closeTab")}
|
aria-label={language.t("common.closeTab")}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -2036,8 +2036,9 @@ export default function Page() {
|
|||||||
closeButton={
|
closeButton={
|
||||||
<Tooltip value={language.t("common.closeTab")} placement="bottom">
|
<Tooltip value={language.t("common.closeTab")} placement="bottom">
|
||||||
<IconButton
|
<IconButton
|
||||||
icon="close"
|
icon="close-small"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
class="h-5 w-5"
|
||||||
onClick={() => tabs().close("context")}
|
onClick={() => tabs().close("context")}
|
||||||
aria-label={language.t("common.closeTab")}
|
aria-label={language.t("common.closeTab")}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user