Skip to content

Commit 0784258

Browse files
committed
use tailwind style instead of scoped style
1 parent bafd643 commit 0784258

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

web_src/js/components/DashboardRepoList.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ export default sfc; // activate the IDE's Vue plugin
362362
<div class="menu">
363363
<a class="item" @click="toggleArchivedFilter()">
364364
<div class="ui checkbox" ref="checkboxArchivedFilter" :title="checkboxArchivedFilterTitle">
365-
<!--the "hidden" is necessary to make the checkbox work without Fomantic UI js,
365+
<!--the "tw-pointer-events-none" is necessary to make the checkbox work without Fomantic UI js,
366366
otherwise if the "input" handles click event for intermediate status, it breaks the internal state-->
367-
<input type="checkbox" class="no-select hidden" v-bind.prop="checkboxArchivedFilterProps">
367+
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxArchivedFilterProps">
368368
<label>
369369
<svg-icon name="octicon-archive" :size="16" class-name="tw-mr-1"/>
370370
{{ textShowArchived }}
@@ -373,7 +373,7 @@ export default sfc; // activate the IDE's Vue plugin
373373
</a>
374374
<a class="item" @click="togglePrivateFilter()">
375375
<div class="ui checkbox" ref="checkboxPrivateFilter" :title="checkboxPrivateFilterTitle">
376-
<input type="checkbox" class="no-select hidden" v-bind.prop="checkboxPrivateFilterProps">
376+
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxPrivateFilterProps">
377377
<label>
378378
<svg-icon name="octicon-lock" :size="16" class-name="tw-mr-1"/>
379379
{{ textShowPrivate }}
@@ -545,8 +545,4 @@ ul li:not(:last-child) {
545545
.repo-owner-name-list li.active {
546546
background: var(--color-hover);
547547
}
548-
549-
.no-select {
550-
pointer-events: none;
551-
}
552548
</style>

0 commit comments

Comments
 (0)