Skip to content

Commit 39f0e14

Browse files
committed
[bugfix] Fix some styling issues
1 parent 58bb125 commit 39f0e14

13 files changed

+22
-21
lines changed

src/App.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,8 @@
6363
bottom: 0;
6464
text-align: center;
6565
}
66+
67+
.view {
68+
text-align: center;
69+
}
6670
</style>

src/components/common/BotSelection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<b-form-group :label="label" horizontal>
2+
<b-form-group :label="label" label-cols-horizontal>
33
<input type="number"
44
v-model="model.id"
55
:min="0"
@@ -28,4 +28,4 @@
2828
</script>
2929

3030
<style scoped>
31-
</style>
31+
</style>

src/components/common/DualSwitch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<style scoped>
4848
4949
button, .switch {
50-
margin: 0.5em;
50+
margin: 0.25em;
5151
}
5252
5353
.btn-active {

src/components/common/LocationSelection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<b-form-group :label="label" horizontal>
2+
<b-form-group :label="label" label-cols-horizontal>
33
<input type="number"
44
v-model="model.x"
55
:min="-99000.0"
@@ -33,4 +33,4 @@
3333
</script>
3434

3535
<style scoped>
36-
</style>
36+
</style>

src/components/common/TeamSelection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<b-form-group :label="label" horizontal>
2+
<b-form-group :label="label" label-cols-horizontal>
33
<b-form-radio-group id="select-team" v-model="model.team" buttons>
44
<b-form-radio value="Yellow">Yellow</b-form-radio>
55
<b-form-radio value="Blue">Blue</b-form-radio>

src/components/events/NewEvent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div>
2+
<div class="view">
33
<p>
44
Choose a game event and issue it in the current match. Most events are usually issued automatically
55
by automatic referees,
@@ -135,4 +135,4 @@
135135

136136
<style scoped>
137137
138-
</style>
138+
</style>

src/components/events/inputs/UnsportingBehaviorMajor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Major unsporting behavior results in a red card.
55
</p>
66
<TeamSelection :model="model" label="By: "/>
7-
<b-form-group label="Reason: " horizontal>
7+
<b-form-group label="Reason: " label-cols-horizontal>
88
<input type="text"
99
v-model="model.reason"/>
1010
</b-form-group>

src/components/events/inputs/UnsportingBehaviorMinor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Minor unsporting behavior results in a yellow card.
55
</p>
66
<TeamSelection :model="model" label="By: "/>
7-
<b-form-group label="Reason: " horizontal>
7+
<b-form-group label="Reason: " label-cols-horizontal>
88
<input type="text"
99
v-model="model.reason"/>
1010
</b-form-group>

src/components/settings/AutonomousSettings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div>
2+
<div class="view">
33
<div class="auto-refs-connected" v-b-tooltip.hover :title="autoRefs">
44
<p>
55
<b>{{autoRefsConnected}}</b> autoRefs connected.

src/components/settings/EventBehavior.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div>
2+
<div class="view">
33
<table>
44
<tr v-for="eventType in eventTypes" :key="eventType">
55
<td align="left">{{eventType}}</td>

0 commit comments

Comments
 (0)