File tree Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ watchEffect(() => {
3737
3838 <details open >
3939 <summary >📏 Used Rule</summary >
40- <div class =" filter-group" >
40+ <div class =" filter-group rule-filter-group " >
4141 <div v-for =" rules, type in ruleFilters" >
4242 <em style =" text-transform : capitalize ;" >{{ type }}</em >
4343 <div class =" checkbox-group" >
@@ -47,21 +47,21 @@ watchEffect(() => {
4747 </label >
4848 </div >
4949 </div >
50- </div >
51- </details >
52-
53- <details open >
54- <summary >💡 More Features</summary >
55- <div class =" filter-group" >
5650 <div >
57- <em >Type</em >
51+ <em >Example Type</em >
5852 <div class =" checkbox-group" >
5953 <label v-for =" type in ruleTypes" :key =" type" >
6054 <input type =" checkbox" v-model =" filter.selectedTypes" :value =" type" >
6155 <Option :text =" type" class =" filter-option" />
6256 </label >
6357 </div >
6458 </div >
59+ </div >
60+ </details >
61+
62+ <details open >
63+ <summary >💡 More Features</summary >
64+ <div class =" filter-group" >
6565 <div >
6666 <em >Features</em >
6767 <div class =" checkbox-group" >
@@ -79,22 +79,33 @@ watchEffect(() => {
7979<style scoped>
8080.filter-group {
8181 display : flex ;
82+ flex-wrap : wrap ;
8283 margin-top : -2px ;
8384 gap : 8px ;
85+ justify-content : space-between ;
8486}
8587
8688.checkbox-group {
8789 margin-top : 0.2em ;
88- display : flex ;
90+ display : inline-flex ;
91+ flex-wrap : wrap ;
8992 gap : 4px ;
9093}
9194
95+ em {
96+ margin-right : 0.5em ;
97+ }
98+
99+ .rule-filter-group > div {
100+ flex : 0 0 auto ;
101+ max-width : 100% ;
102+ }
103+
92104label {
93105 display : inline-block ;
94106}
95107details {
96108 padding-bottom : 5px ;
97- border-radius : 5px ;
98109}
99110summary {
100111 margin : 0 ;
You can’t perform that action at this time.
0 commit comments