This repository was archived by the owner on Jan 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
src/themes/default/components/core Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -152,14 +152,22 @@ $color-white: color(white);
152
152
width : 100% ;
153
153
overflow : hidden ;
154
154
max-height : 300px ;
155
- height : 270px ;
155
+ height : 100% ;
156
+ min-height : 155px ;
156
157
display : flex ;
157
158
align-items : flex-end ;
158
159
background-image : url (' /assets/placeholder.svg' );
159
160
background-repeat : no-repeat ;
160
161
background-position : center ;
161
162
background-size : 60% auto ;
162
163
164
+ @media (min-width : 768px ) {
165
+ min-height : 190px ;
166
+ }
167
+ @media (min-width : 1200px ) {
168
+ min-height : 300px ;
169
+ }
170
+
163
171
& __content {
164
172
display : none ;
165
173
}
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" base-input-number" >
3
- <label class =" base-input-number__label flex" :for =" getInputId" >{{ name }}</label >
3
+ <label class =" base-input-number__label cl-primary flex" :for =" getInputId" >{{ name }}</label >
4
4
<input
5
5
:id =" getInputId"
6
6
type =" number"
@@ -69,13 +69,21 @@ export default {
69
69
border-style : solid ;
70
70
border-width : 0 0 1px 0 ;
71
71
width : 50px ;
72
- height : 1.7 rem ;
72
+ height : 1.4 rem ;
73
73
line-height : 1.7rem ;
74
+ @media (min-width : 768px ) {
75
+ height : 1.7rem ;
76
+ }
74
77
}
75
78
76
79
& __label {
77
- font-size : 14px ;
80
+ font-size : 0.8rem ;
81
+ line-height : 1.2rem ;
78
82
max-width : 100px ;
83
+ @media (min-width : 768px ) {
84
+ font-size : 1rem ;
85
+ line-height : 1.4rem ;
86
+ }
79
87
}
80
88
}
81
89
You can’t perform that action at this time.
0 commit comments