Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb5a336

Browse files
committed
Increase minimum tab width and hide close buttons on inactive tabs
Signed-off-by: Denis FL <denisfl@pm.me>
1 parentd4731a6 commitbb5a336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎packages/ui/src/components/ModernTab.svelte‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
{/if}
7878
</span>
7979

80-
{#ifcanClose&&!readonly}
80+
{#ifcanClose&&!readonly&&highlighted}
8181
<divclass="close-button{orientation}">
8282
<ButtonIconicon={IconClose}size="min"on:click={()=>dispatch('close')} />
8383
</div>
@@ -109,7 +109,7 @@
109109
padding:0.125rem0.125rem0.125rem0.5rem;
110110
height:1.625rem;
111111
min-height:1.625rem;
112-
min-width:4rem;
112+
min-width:5rem;
113113
}
114114
115115
&.vertical {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp