Skip to content

Commit 2ae019c

Browse files
committed
Improve the appearance of the option button
1 parent 743c88e commit 2ae019c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/components/Facet.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function onToggle (event: Event) {
4545
</template>
4646

4747
<style lang="scss">
48+
fieldset { padding: 0 0.625em }
4849
fieldset.galc-facet {
4950
display: inherit;
5051
border: none;
@@ -67,7 +68,7 @@ fieldset.galc-facet {
6768
font-size: 1.125rem;
6869
border-bottom: 1px solid #ddd5c7;
6970
width: 100%;
70-
margin-bottom: 0.5em;
71+
margin-bottom: 0.0em;
7172
cursor: pointer;
7273
7374
&::-webkit-details-marker {

src/components/Facets.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ const liveMessage = computed(() => {
9494
</template>
9595

9696
<style lang="scss">
97+
9798
.show-facets-button {
9899
display: none;
99100
}
101+
100102
@media only screen and (max-width: 700px) {
101103
.show-facets-button {
102104
display: block;
@@ -111,13 +113,14 @@ const liveMessage = computed(() => {
111113
cursor: pointer;
112114
border: none;
113115
border-radius: 4px;
116+
height: 33px;
114117
115118
img.show-facets-icon {
116119
height: 0.9rem;
117120
width: 0.9rem;
118121
filter: invert(100%);
119122
display: inline;
120-
margin-bottom: 4px;
123+
margin-bottom: -2px;
121124
margin-left: 4px;
122125
}
123126
}
@@ -133,4 +136,6 @@ clip: rect(0, 0, 0, 0);
133136
white-space: nowrap;
134137
border-width: 0;
135138
}
139+
140+
136141
</style>

0 commit comments

Comments
 (0)