File tree 8 files changed +21
-8
lines changed
8 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,13 @@ import './theme/theme.css';
6
6
const globalCSS = css `
7
7
${ normalize }
8
8
9
- body , html , # root {
9
+ html {
10
+ font-size : var (--html-document-font-size );
11
+ }
12
+
13
+ body ,
14
+ html ,
15
+ # root {
10
16
margin : 0 ;
11
17
padding : 0 ;
12
18
min-width : 100% ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const AppBar: React.FC = () => {
24
24
) }
25
25
< Breadcrumb />
26
26
{ ! FEATURE_FLAGS . HIDE_QUICK_LINKS && < HelpMenu /> }
27
- < ConnectionStatus />
27
+ { ! FEATURE_FLAGS . HIDE_CONNECTION_STATUS && < ConnectionStatus /> }
28
28
</ ItemRow >
29
29
< ItemRow pad = "lg" >
30
30
< PluginGroup id = "header" title = "Extensions" slot = "header" />
Original file line number Diff line number Diff line change @@ -137,8 +137,9 @@ const Buttons = styled.div`
137
137
flex: 0;
138
138
139
139
button {
140
- width: 2.5rem;
141
- height: 2.5rem;
140
+ width: var(--loglist-button-size);
141
+ height: var(--loglist-button-size);
142
+ padding: 0;
142
143
margin-left: 0.5rem;
143
144
144
145
i {
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ export function getMode(settings: TaskSettingsState): TaskListMode {
179
179
//
180
180
181
181
const TaskListingContainer = styled . div `
182
- border-bottom: var(--border-medium-1 );
182
+ border-bottom: var(--task-list-header-border-bottom );
183
183
font-size: var(--font-size-primary);
184
184
position: relative;
185
185
` ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const TimelineFooterContainer = styled.div`
39
39
40
40
const TimelineFooterLeft = styled . div `
41
41
display: inline-block;
42
- width: 15.3125rem ;
42
+ width: var(--task-list-width) ;
43
43
margin: 0.5rem 0;
44
44
padding-right: 0.5rem;
45
45
` ;
Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ export default TaskListLabel;
121
121
//
122
122
123
123
const RowLabel = styled . div < { type : 'step' | 'task' ; isOpen ?: boolean ; group ?: boolean ; status : string } > `
124
- flex: 0 0 15.3125rem ;
125
- max-width: 15.3125rem ;
124
+ flex: 0 0 var(--task-list-width) ;
125
+ max-width: var(--task-list-width) ;
126
126
overflow: hidden;
127
127
cursor: pointer;
128
128
font-size: ${ ( p ) =>
Original file line number Diff line number Diff line change 128
128
--radius-secondary : 0.5rem ; /* 8px */
129
129
130
130
/* Layout */
131
+ --html-document-font-size : 16px ;
132
+
131
133
--layout-color-bg : var (--color-bg-primary );
132
134
--layout-max-width : 160rem ; /* 2560px */
133
135
--layout-application-bar-height : 7rem ; /* 112px */
423
425
--task-view-margin : none;
424
426
--task-view-shadow : none;
425
427
428
+ --task-list-header-border-bottom : var (--border-medium-1 );
426
429
--task-list-padding : 0 ;
427
430
--task-list-width : 15.25rem ;
428
431
433
436
--task-content-shadow : none;
434
437
--task-content-border-left : none;
435
438
--task-content-border-right : none;
439
+
440
+ --loglist-button-size : 2.5rem ;
436
441
}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ const FEATURE_FLAGS = {
17
17
HIDE_STATUS_FILTERS : ( process . env . REACT_APP_FEATURE_HIDE_STATUS_FILTERS || '0' ) === '1' ,
18
18
HIDE_TABLE_HEADER : ( process . env . REACT_APP_FEATURE_HIDE_TABLE_HEADER || '0' ) === '1' ,
19
19
HIDE_QUICK_LINKS : ( process . env . REACT_APP_FEATURE_HIDE_QUICK_LINKS || '0' ) === '1' ,
20
+ HIDE_CONNECTION_STATUS : ( process . env . REACT_APP_FEATURE_HIDE_CONNECTION_STATUS || '0' ) === '1' ,
20
21
21
22
CACHE_DISABLE : false ,
22
23
DB_LISTEN_DISABLE : false ,
You can’t perform that action at this time.
0 commit comments