forked from shesha-io/shesha-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.ts
More file actions
36 lines (30 loc) · 854 Bytes
/
style.ts
File metadata and controls
36 lines (30 loc) · 854 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
import { createStyles } from '@/styles';
export const useStyles = createStyles(({ css, cx, }) => {
const searchField = cx(css`
width: 100%;
background: #fff;
`);
const content = cx(css`
.ant-tabs-tab, .ant-tabs-nav-operations {
height: 24px;
}
.ant-tabs-tab {
--ant-tabs-card-padding-sm: 0 8px;
}
.sha-toolbar-btn-configurable, .ant-btn {
display: flex;
align-items: center;
max-width: 100%;
span {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
`);
return {
searchField,
content
};
});