File tree 2 files changed +18
-1
lines changed
packages/dash-table/src/lib/components
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 2
2
.dash-spreadsheet .Select-control {
3
3
border : none;
4
4
cursor : pointer;
5
- height : 26 px ;
5
+ height : 30 px ; /* matches the td height and line-height */
6
6
border : none;
7
7
}
8
8
9
+ .dash-spreadsheet .Select-placeholder ,
10
+ .dash-spreadsheet .Select--single > .Select-control .Select-value {
11
+ height : 100% ;
12
+ line-height : inherit;
13
+ }
14
+
15
+ .dash-spreadsheet .Select .has-value .Select--single > .Select-control .Select-value .Select-value-label ,
16
+ .dash-spreadsheet .Select .has-value .is-pseudo-focused .Select--single > .Select-control .Select-value .Select-value-label {
17
+ color : var (--text-color );
18
+ }
19
+
9
20
.dash-spreadsheet .Select : hover ,
10
21
.dash-spreadsheet .Select-control : hover {
11
22
border : none;
Original file line number Diff line number Diff line change @@ -113,6 +113,12 @@ tr:hover input :not(.cell--selected) {
113
113
box-sizing : border-box;
114
114
color : var (--text-color );
115
115
background-color : transparent; /* so as to not overlay the box shadow */
116
+
117
+ /* browser's default text-shadow is `$color 0px 0px 0px;`
118
+ * for `input`, which makes it look a little bit heavier than dropdowns
119
+ * or bare `td`
120
+ */
121
+ text-shadow : none;
116
122
}
117
123
118
124
.dash-spreadsheet input .unfocused {
You can’t perform that action at this time.
0 commit comments