Skip to content

Commit de77dd0

Browse files
committed
Update global.css to add spacing classes for margin-bottom
1 parent 2b6bd40 commit de77dd0

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

src/assets/global.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@
1212

1313
.error-message {
1414
color: red;
15+
}
16+
17+
.spacing-10 {
18+
margin-bottom: 10px;
19+
}
20+
21+
.spacing-25 {
22+
margin-bottom: 25px;
1523
}

src/components/BreakdownComponent.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
66
<v-card-item>
77
<div class="tiles-text">
8-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
8+
<div class="spacing-25"></div>
99
<div class="text-h6 mb-1">Number of {{ breakdownDisplayNamePlural }}</div>
1010
<div class="text-caption">
1111
Over the last 28 days
@@ -22,7 +22,7 @@
2222
<v-col cols="6">
2323
<v-card>
2424
<v-card-item class="d-flex justify-center align-center">
25-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
25+
<div class="spacing-25"></div>
2626
<div class="text-h6 mb-1">Top 5 {{ breakdownDisplayNamePlural }} by accepted prompts</div>
2727
<div style="width: 300px; height: 300px;">
2828
<Pie :data="breakdownsChartDataTop5AcceptedPrompts" :options="chartOptions" />
@@ -34,7 +34,7 @@
3434
<v-col cols="6">
3535
<v-card>
3636
<v-card-item class="d-flex justify-center align-center">
37-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
37+
<div class="spacing-25"></div>
3838
<div class="text-h6 mb-1">Top 5 {{ breakdownDisplayNamePlural }} by acceptance rate</div>
3939
<div style="width: 300px; height: 300px;">
4040
<Pie :data="breakdownsChartDataTop5AcceptanceRate" :options="chartOptions" />

src/components/CopilotChatViewer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
44
<v-card-item>
55
<div class="tiles-text">
6-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
6+
<div class="spacing-25"></div>
77
<div class="text-h6 mb-1">Cumulative Number of Turns</div>
88
<div class="text-caption">Over the last 28 days</div>
99
<p class="text-h4">{{ cumulativeNumberTurns }}</p>
@@ -14,7 +14,7 @@
1414
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
1515
<v-card-item>
1616
<div class="tiles-text">
17-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
17+
<div class="spacing-10"></div>
1818
<div class="text-h6 mb-1">Cumulative Number of Acceptances</div>
1919
<div class="text-caption">Over the last 28 days</div>
2020
<p class="text-h4">{{ cumulativeNumberAcceptances }}</p>

src/components/MetricsViewer.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<!-- Acceptance Rate Tile -->
55
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
66
<v-card-item>
7+
<div class="spacing-25"></div>
78
<div class="tiles-text">
8-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
99
<div class="text-h6 mb-1">Acceptance Rate Average</div>
1010
<div class="text-caption">
1111
Over the last 28 days
@@ -18,7 +18,7 @@
1818
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
1919
<v-card-item>
2020
<div class="tiles-text">
21-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
21+
<div class="spacing-10"></div>
2222
<div class="text-h6 mb-1">Cumulative Number of Suggestions</div>
2323
<div class="text-caption">
2424
Over the last 28 days
@@ -31,7 +31,7 @@
3131
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
3232
<v-card-item>
3333
<div class="tiles-text">
34-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
34+
<div class="spacing-10"></div>
3535
<div class="text-h6 mb-1">Cumulative Number of Accepted Prompts</div>
3636
<div class="text-caption">
3737
Over the last 28 days
@@ -44,7 +44,7 @@
4444
<v-card elevation="4" color="white" variant="elevated" class="mx-auto my-3" style="width: 300px; height: 175px;">
4545
<v-card-item>
4646
<div class="tiles-text">
47-
<div class="text-overline mb-1" style="visibility: hidden;">filler</div>
47+
<div class="spacing-10"></div>
4848
<div class="text-h6 mb-1">Cumulative Number of Lines of Code Accepted</div>
4949
<div class="text-caption">
5050
Over the last 28 days

0 commit comments

Comments
 (0)