@@ -275,32 +275,33 @@ export default {
275
275
276
276
<template >
277
277
<div >
278
- <h2 class =" ui header" >
279
- <relative-time
280
- v-if =" dateFrom !== null"
281
- format =" datetime"
282
- year =" numeric"
283
- month =" short"
284
- day =" numeric"
285
- weekday =" "
286
- :datetime =" dateFrom"
287
- >
288
- {{ dateFrom }}
289
- </relative-time >
290
- {{ isLoading ? locale.loadingTitle : errorText ? locale.loadingTitleFailed: "-" }}
291
- <relative-time
292
- v-if =" dateUntil !== null"
293
- format =" datetime"
294
- year =" numeric"
295
- month =" short"
296
- day =" numeric"
297
- weekday =" "
298
- :datetime =" dateUntil"
299
- >
300
- {{ dateUntil }}
301
- </relative-time >
302
-
303
- <div class =" ui right" >
278
+ <h2 class =" ui header gt-df gt-ac gt-sb" >
279
+ <div >
280
+ <relative-time
281
+ v-if =" dateFrom !== null"
282
+ format =" datetime"
283
+ year =" numeric"
284
+ month =" short"
285
+ day =" numeric"
286
+ weekday =" "
287
+ :datetime =" dateFrom"
288
+ >
289
+ {{ dateFrom }}
290
+ </relative-time >
291
+ {{ isLoading ? locale.loadingTitle : errorText ? locale.loadingTitleFailed: "-" }}
292
+ <relative-time
293
+ v-if =" dateUntil !== null"
294
+ format =" datetime"
295
+ year =" numeric"
296
+ month =" short"
297
+ day =" numeric"
298
+ weekday =" "
299
+ :datetime =" dateUntil"
300
+ >
301
+ {{ dateUntil }}
302
+ </relative-time >
303
+ </div >
304
+ <div >
304
305
<!-- Contribution type -->
305
306
<div class =" ui dropdown jump" id =" dropdown" >
306
307
<div class =" ui basic compact button" >
@@ -323,8 +324,7 @@ export default {
323
324
</div >
324
325
</div >
325
326
</h2 >
326
- <div class =" divider" />
327
- <div class =" gt-df main-graph" >
327
+ <div class =" gt-df ui segment main-graph" >
328
328
<div v-if =" isLoading || errorText !== ''" class =" gt-tc gt-m-auto" >
329
329
<div v-if =" isLoading" >
330
330
<SvgIcon name =" octicon-sync" class =" gt-mr-3 job-status-rotate" />
@@ -340,11 +340,9 @@ export default {
340
340
:data =" toGraphData(totalStats.weeks)" :options =" getOptions('main')"
341
341
/>
342
342
</div >
343
- <div class =" divider" />
344
-
345
- <div class =" ui attached two column grid" >
343
+ <div class =" contributor-grid" >
346
344
<div
347
- v-for =" (contributor, index) in sortedContributors" :key =" index" class =" column stats-table"
345
+ v-for =" (contributor, index) in sortedContributors" :key =" index" class =" stats-table"
348
346
v-memo =" [sortedContributors, type]"
349
347
>
350
348
<div class =" ui top attached header gt-df gt-f1" >
@@ -379,4 +377,9 @@ export default {
379
377
.main-graph {
380
378
height : 380px ;
381
379
}
380
+ .contributor-grid {
381
+ display : grid ;
382
+ grid-template-columns : repeat (2 , 1fr );
383
+ gap : 1rem ;
384
+ }
382
385
</style >
0 commit comments