Skip to content

Commit a7a4113

Browse files
fix: try fix
1 parent 67282ab commit a7a4113

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

website/src/catalog/RuleList.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ruleMetaData = computed(() => getRuleMetaData(props.filter, sortBy.value))
3333
/>
3434
<label class="sort-by">
3535
Sort by:
36-
<select class="select" v-model="sortBy">
36+
<select v-model="sortBy">
3737
<option value="name">Name</option>
3838
<option value="lang">Lang</option>
3939
<option value="complexity">Complexity</option>
@@ -80,8 +80,9 @@ const ruleMetaData = computed(() => getRuleMetaData(props.filter, sortBy.value))
8080
</template>
8181

8282
<style scoped>
83-
.select {
83+
option {
8484
background-color: var(--vp-c-bg);
85+
color: var(--vp-c-text-1);
8586
}
8687
.rule-list-container {
8788
position: relative;

website/src/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ table {
4343
input, textarea {
4444
-webkit-user-select: auto;
4545
}
46-
select {
46+
option {
4747
background-color: var(--vp-c-bg);
48+
color: var(--vp-c-text-1);
4849
}
4950

5051
/* revert the 'white-space' property for textarea elements on Safari */

0 commit comments

Comments
 (0)