File tree 8 files changed +47
-9
lines changed
8 files changed +47
-9
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ const navElement = ref<HTMLElement>();
86
86
>
87
87
<template v-for =" _route in enabledRoutes " :key =" _route " >
88
88
<NTab
89
+ class =" tab"
89
90
:style ="
90
91
_route === activeRoute
91
92
? { '--n-tab-text-color-hover': 'var(--navbar-text-color-hover-active)' }
@@ -159,6 +160,10 @@ nav {
159
160
height : calc (#{layout .$header-navbar-height } - 0.75rem ) !important ;
160
161
border-radius : 0.5rem !important ;
161
162
}
163
+
164
+ :deep (.tab ) {
165
+ padding : 0 0.25rem ;
166
+ }
162
167
}
163
168
}
164
169
</style >
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const open = ref(false);
50
50
</script >
51
51
52
52
<template >
53
- <NFlex class =" row" align =" center" justify =" space-evenly" :vertical =" false" >
53
+ <NFlex class =" row" align =" center" justify =" space-evenly" :wrap =" false" >
54
54
<NDatePicker
55
55
v-model:show =" open"
56
56
v-model:value =" pickerValue"
@@ -98,13 +98,17 @@ const open = ref(false);
98
98
.row {
99
99
width : 100% ;
100
100
padding : 0 0.5rem ;
101
+ overflow-x : auto ;
102
+ scrollbar-width : none ;
101
103
102
104
.date-picker {
103
105
flex : 0 1 33% ;
106
+ min-width : fit-content ;
104
107
}
105
108
106
109
.search-input {
107
110
flex : 1 1 33% ;
111
+ min-width : 12rem ;
108
112
}
109
113
}
110
114
</style >
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const open = ref(false);
55
55
</script >
56
56
57
57
<template >
58
- <NFlex class =" row" align =" center" justify =" space-evenly" :vertical =" false" >
58
+ <NFlex class =" row" align =" center" justify =" space-evenly" :wrap =" false" >
59
59
<NDatePicker
60
60
v-model:show =" open"
61
61
class =" date-picker"
@@ -99,20 +99,29 @@ const open = ref(false);
99
99
.row {
100
100
width : 100% ;
101
101
padding : 0 0.5rem ;
102
+ overflow-x : auto ;
103
+ scrollbar-width : none ;
102
104
103
105
.date-picker {
104
106
flex : 0 1 33% ;
107
+ min-width : 14rem ;
105
108
}
106
109
107
110
.search-input {
108
111
flex : 1 1 calc (46% - 5rem );
112
+ min-width : 12rem ;
109
113
}
110
114
}
111
115
</style >
112
116
113
117
<style lang="scss">
114
118
.n-date-panel {
119
+ display : inline-flex ;
120
+ flex-wrap : wrap ;
121
+ justify-content : center ;
122
+ max-width : min (36.5rem , 100 dvw );
115
123
margin-top : 12px ;
116
124
margin-left : -16px ;
125
+ scrollbar-width : thin ;
117
126
}
118
127
</style >
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ onBeforeMount(() => fetchRegions());
51
51
</script >
52
52
53
53
<template >
54
- <NFlex class =" row" align =" center" justify =" space-evenly" :vertical =" false" >
54
+ <NFlex class =" row" align =" center" justify =" space-evenly" :wrap =" false" >
55
55
<NSelect
56
56
v-model:value =" releaseType"
57
57
class =" type-select"
@@ -92,17 +92,22 @@ onBeforeMount(() => fetchRegions());
92
92
.row {
93
93
width : 100% ;
94
94
padding : 0 0.5rem ;
95
+ overflow-x : auto ;
96
+ scrollbar-width : none ;
95
97
96
98
.type-select {
97
99
flex : 0 0 10rem ;
100
+ min-width : fit-content ;
98
101
}
99
102
100
103
.region-select {
101
104
flex : 1 0 10rem ;
105
+ min-width : fit-content ;
102
106
}
103
107
104
108
.date-picker {
105
109
flex : 2 1 48% ;
110
+ min-width : fit-content ;
106
111
}
107
112
}
108
113
</style >
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ onActivated(() => {
167
167
</script >
168
168
169
169
<template >
170
- <NFlex class =" row" align =" center" justify =" center " :vertical =" false" >
170
+ <NFlex class =" row" align =" center" justify =" space-evenly " :wrap =" false" >
171
171
<NSelect
172
172
v-model:value =" selectedValues"
173
173
v-model:show =" open"
@@ -308,13 +308,17 @@ onActivated(() => {
308
308
.row {
309
309
width : 100% ;
310
310
padding : 0 0.5rem ;
311
+ overflow-x : auto ;
312
+ scrollbar-width : none ;
311
313
312
314
.types-select {
313
315
flex : 0 1 12rem ;
316
+ min-width : fit-content ;
314
317
}
315
318
316
319
.search-input {
317
320
flex : 1 1 30% ;
321
+ min-width : 12rem ;
318
322
}
319
323
}
320
324
</style >
Original file line number Diff line number Diff line change @@ -394,16 +394,23 @@ useWatchActivated(
394
394
}
395
395
}
396
396
397
+ .limit-card ,
398
+ .stats-card {
399
+ overflow : auto ;
400
+
401
+ :deep (.detail ) {
402
+ min-width : max-content ;
403
+ }
404
+ }
405
+
397
406
.limit-card {
398
407
:deep (.detail ) {
399
408
flex-basis : 31% ;
400
- min-width : max-content ;
401
409
}
402
410
}
403
411
404
412
.stats-card {
405
413
:deep (.detail ) {
406
- flex-basis : 42% ;
407
414
min-width : max-content ;
408
415
}
409
416
}
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ useWatchActivated(
85
85
:style =" { '--n-border-color': 'var(--border-color)' }"
86
86
hoverable
87
87
>
88
- <NFlex align =" center" size =" large" : wrap= " false " >
88
+ <NFlex align =" center" size =" large" wrap >
89
89
<NButton text @click =" onClick" >
90
90
<NAvatar
91
91
v-if =" avatar"
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const renderTag = ({ option }: { option: SelectOption }) => option.label?.toStri
102
102
</script >
103
103
104
104
<template >
105
- <NFlex class =" row" align =" center" justify =" center " :vertical =" false" >
105
+ <NFlex class =" row" align =" center" justify =" space-evenly " :wrap =" false" >
106
106
<NSelect
107
107
v-model:value =" selectValue"
108
108
v-model:show =" open"
@@ -142,13 +142,17 @@ const renderTag = ({ option }: { option: SelectOption }) => option.label?.toStri
142
142
.row {
143
143
width : 100% ;
144
144
padding : 0 0.5rem ;
145
+ overflow-x : auto ;
146
+ scrollbar-width : none ;
145
147
146
148
.list-select {
147
149
flex : 0 1 33% ;
150
+ min-width : fit-content ;
148
151
}
149
152
150
153
.search-input {
151
- flex : 1 1 calc (56% - 5rem );
154
+ flex : 1 1 auto ;
155
+ min-width : 12rem ;
152
156
}
153
157
}
154
158
</style >
You can’t perform that action at this time.
0 commit comments