File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,11 @@ export default defineComponent({
112112 < slot name= " operator" / >
113113 < / div>
114114 < div
115- v- if = " showSearch || ( quickLinks && quickLinks .length) "
115+ v- if = " showSearch || quickLinks? .length"
116116 class = " fr-header__navbar"
117117 >
118118 < button
119+ v- if = " showSearch"
119120 class = " fr-btn"
120121 aria- controls= " header-search"
121122 aria- label= " Recherche"
@@ -128,6 +129,7 @@ export default defineComponent({
128129 / >
129130 < / button>
130131 < button
132+ v- if = " quickLinks?.length"
131133 id= " button-menu"
132134 class = " fr-btn--menu fr-btn"
133135 : data- fr- opened= " showMenu"
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ export default defineComponent({
9292</template >
9393
9494<style scoped>
95-
9695.icon-left {
9796 margin-right : 0.5rem
9897}
@@ -105,7 +104,7 @@ export default defineComponent({
105104 align-items : center ;
106105}
107106
108- .reverse {
107+ .fr-header .fr-links-group . reverse {
109108 flex-direction : row-reverse ;
110109}
111110 </style >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export default defineComponent({
2929 type: String ,
3030 default: ' ' ,
3131 },
32+ isWithWrapper: Boolean ,
3233 labelVisible: Boolean ,
3334 modelValue: {
3435 type: String ,
@@ -62,8 +63,13 @@ export default defineComponent({
6263 >{{ hint }}</span >
6364 </label >
6465 <div
65- class =" fr-input-wrap"
66- :class =" [wrapperClass, { 'fr-fi-calendar-line': $attrs.type === 'date' }]"
66+ :class =" [
67+ {
68+ 'fr-input-wrap': isWithWrapper || $attrs.type === 'date',
69+ 'fr-fi-calendar-line': $attrs.type === 'date',
70+ },
71+ wrapperClass,
72+ ]"
6773 >
6874 <component
6975 :is =" isComponent"
You can’t perform that action at this time.
0 commit comments