File tree Expand file tree Collapse file tree 4 files changed +36
-20
lines changed Expand file tree Collapse file tree 4 files changed +36
-20
lines changed Original file line number Diff line number Diff line change @@ -124,15 +124,17 @@ const BarGraph = (props) => {
124
124
classname [ i ] . addEventListener ( 'click' , animateButton , false ) ;
125
125
}
126
126
return (
127
- < div >
128
- < button
129
- className = 'save-series-button'
130
- onClick = { ( e ) => {
131
- dispatch ( save ( toStorage ) ) ;
132
- } }
133
- >
134
- Save Series
135
- </ button >
127
+ < div className = "bargraph" >
128
+ < div className = "series-options-container" >
129
+ < button
130
+ className = 'save-series-button'
131
+ onClick = { ( e ) => {
132
+ dispatch ( save ( toStorage ) ) ;
133
+ } }
134
+ >
135
+ Save Series
136
+ </ button >
137
+ </ div >
136
138
< svg ref = { containerRef } width = { width } height = { height } >
137
139
{ }
138
140
< rect
Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ const radialGraph = (props) => {
91
91
return (
92
92
93
93
94
- < div id = "card" >
94
+ < div id = "card" className = "metric" >
95
95
< div id = "chart" >
96
- < Charts options = { state . options } series = { state . series } type = "radialBar" height = { 250 } width = { 250 } />
96
+ < Charts options = { state . options } series = { state . series } type = "radialBar" height = { 200 } width = { 200 } />
97
97
</ div >
98
98
</ div >
99
99
Original file line number Diff line number Diff line change 1
1
.body-container1 {
2
- height : 94 % ;
2
+ height : 100 % ;
3
3
overflow : hidden ;
4
4
display : grid ;
5
5
grid-template-columns : min-content 2fr ;
Original file line number Diff line number Diff line change 10
10
}
11
11
12
12
.toggleAC {
13
- color : #00dffc ;
13
+ // color: #00dffc;
14
+ color : $blue-brand ;
14
15
background : $background-color ;
15
- height : 75 % ;
16
+ height : 50 % ;
16
17
text-decoration : none ;
17
18
border : none ;
18
19
}
196
197
197
198
// Web Metrics Container
198
199
.web-metrics-container {
199
-
200
- // padding: 3rem;
201
- // display: grid;
202
- display : flex ;
200
+ display : grid ;
201
+ grid-template-columns : auto auto ;
203
202
align-items : center ;
204
203
justify-content : center ;
205
- flex-wrap : wrap ;
206
- margin-top : 3rem ;
204
+ // padding: 3rem;
205
+ // display: flex;
206
+ // flex-wrap: wrap;
207
+ // margin-top: 0.1rem;
208
+ // position: absolute;
207
209
// grid-template-columns: repeat(2, 1fr);
208
210
// grid-template-rows: repeat(2, 1fr);
211
+ }
212
+
213
+ .metric {
214
+ min-height : 200px ;
215
+ min-width : 200px ;
216
+ max-height : 200px ;
217
+ max-width : 200px ;
218
+ }
219
+
220
+ .bargraph {
221
+ position : relative ;
222
+ margin-top : 1rem ;
209
223
}
You can’t perform that action at this time.
0 commit comments