Skip to content

Commit 8bd5845

Browse files
committed
feat: resolve input-related comments
1 parent 6e6bb7d commit 8bd5845

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

app/components/Header/SearchBox.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ defineExpose({ focus })
114114
:placeholder="$t('search.placeholder')"
115115
noCorrect
116116
class="w-full min-w-25 ps-7"
117+
@focus="isSearchFocused = true"
118+
@blur="isSearchFocused = false"
117119
/>
118120
<button type="submit" class="sr-only">{{ $t('search.button') }}</button>
119121
</div>

app/components/Input/Base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ defineExpose({
4141
v-bind="props.noCorrect ? noCorrect : undefined"
4242
@focus="emit('focus', $event)"
4343
@blur="emit('blur', $event)"
44-
class="w-full leading-none bg-bg-subtle border border-border font-mono text-fg placeholder:text-fg-subtle transition-[border-color,outline-color] duration-300 hover:border-fg-subtle outline-2 outline-transparent outline-offset-2 focus:border-accent focus-visible:outline-accent/70 disabled:(opacity-50 cursor-not-allowed)"
44+
class="leading-none bg-bg-subtle border border-border font-mono text-fg placeholder:text-fg-subtle transition-[border-color,outline-color] duration-300 hover:border-fg-subtle outline-2 outline-transparent outline-offset-2 focus:border-accent focus-visible:outline-accent/70 disabled:(opacity-50 cursor-not-allowed)"
4545
:class="{
4646
'text-xs px-2 py-1.25 h-8 rounded-md': size === 'small',
4747
'text-sm px-3 py-2.5 h-10 rounded-lg': size === 'medium',

app/components/Org/TeamsPanel.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,14 +504,15 @@ watch(lastExecutionTime, () => {
504504
{{ orgName }}:
505505
</span>
506506
<label for="new-team-name" class="sr-only">{{ $t('org.teams.team_name_label') }}</label>
507+
<!-- rtl-check-ignore -->
507508
<InputBase
508509
id="new-team-name"
509510
v-model="newTeamName"
510511
type="text"
511512
name="new-team-name"
512513
:placeholder="$t('org.teams.team_name_placeholder')"
513514
noCorrect
514-
class="flex-1 min-w-25 rounded-l-none"
515+
class="flex-1 min-w-25 rounded-is-none"
515516
size="medium"
516517
/>
517518
</div>

0 commit comments

Comments
 (0)