Skip to content

Commit 5c37067

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

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

web_src/js/components/DashboardRepoList.vue

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,7 @@ 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,
366-
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">
365+
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxArchivedFilterProps">
368366
<label>
369367
<svg-icon name="octicon-archive" :size="16" class-name="tw-mr-1"/>
370368
{{ textShowArchived }}
@@ -373,7 +371,7 @@ export default sfc; // activate the IDE's Vue plugin
373371
</a>
374372
<a class="item" @click="togglePrivateFilter()">
375373
<div class="ui checkbox" ref="checkboxPrivateFilter" :title="checkboxPrivateFilterTitle">
376-
<input type="checkbox" class="no-select hidden" v-bind.prop="checkboxPrivateFilterProps">
374+
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxPrivateFilterProps">
377375
<label>
378376
<svg-icon name="octicon-lock" :size="16" class-name="tw-mr-1"/>
379377
{{ textShowPrivate }}
@@ -545,8 +543,4 @@ ul li:not(:last-child) {
545543
.repo-owner-name-list li.active {
546544
background: var(--color-hover);
547545
}
548-
549-
.no-select {
550-
pointer-events: none;
551-
}
552546
</style>

0 commit comments

Comments
 (0)