forked from sheepzh/time-tracker-4-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelement.ts
More file actions
37 lines (34 loc) · 967 Bytes
/
element.ts
File metadata and controls
37 lines (34 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { injectGlobal } from '@emotion/css'
export const injectElementCss = () => {
injectGlobal`
// Fix select-v2
.el-vl__window.el-select-dropdown__list {
direction: unset !important;
}
// Fix header icon not align
.el-table__header tr .cell {
display: flex;
align-items: center;
justify-content: center;
}
.el-table__cell .cell {
.el-input {
height: 28px;
}
.el-input-group__append {
padding: 0 4px;
}
.el-input-group--append {
.el-input__wrapper {
height: 28px;
}
.el-input__inner {
padding-inline: 5px;
}
}
.el-button [class*="el-icon-"] + span {
margin-inline-start: 5px !important;
}
}
`
}