File tree 1 file changed +20
-8
lines changed
services/agora/src/components/post/views
1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
3
<ZKButton button-type =" standardButton" @click =" showDialog = true" >
4
- <div class =" buttonText gradientFont" >
5
- {{ currentFilterAlgorithm }}
6
- <q-icon
7
- name =" mdi-chevron-down"
8
- size =" 1.3rem"
9
- class =" iconStyle gradientFont"
10
- />
4
+ <div class =" buttonGrid gradientFont" >
5
+ <div class =" buttonItem" >{{ currentFilterAlgorithm }}</div >
6
+
7
+ <div class =" buttonItem" >
8
+ <q-icon
9
+ name =" mdi-chevron-down"
10
+ size =" 1.3rem"
11
+ class =" iconStyle gradientFont"
12
+ />
13
+ </div >
11
14
</div >
12
15
</ZKButton >
13
16
@@ -135,9 +138,18 @@ function selectedAlgorithm(filterValue: CommentFilterOptions) {
135
138
font-weight : 500 ;
136
139
}
137
140
138
- .buttonText {
141
+ .buttonGrid {
142
+ display : grid ;
143
+ grid-template-columns : auto auto ;
144
+ grid-template-rows : 1fr ;
145
+ gap : 0px 0px ;
146
+ grid-template-areas : " . ." ;
147
+ }
148
+
149
+ .buttonItem {
139
150
font-weight : 500 ;
140
151
display : flex ;
141
152
align-items : center ;
153
+ line-height : normal ;
142
154
}
143
155
</style >
You can’t perform that action at this time.
0 commit comments