Skip to content

Commit 478b748

Browse files
author
Matthew Klein
committed
TruthTable: Give more space for the dot in "true" values
1 parent 51f37cd commit 478b748

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/TruthTable.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const rows = computed(() => {
118118
119119
.cell {
120120
border: 1px solid black;
121-
padding: 0.25em 0.5em;
121+
padding: 0 0.5em;
122122
}
123123
124124
.body .cell {
@@ -139,7 +139,7 @@ const rows = computed(() => {
139139
}
140140
141141
.cell.true::before {
142-
content: "";
142+
content: " ";
143143
}
144144
145145
.cell.true::after {
@@ -151,7 +151,7 @@ const rows = computed(() => {
151151
}
152152
153153
.cell.false::before {
154-
content: "\a0";
154+
content: "\a0\a0";
155155
}
156156
157157
.cell.invalid {

src/components/TruthTableWithNulls.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const rows = computed(() => {
118118
119119
.cell {
120120
border: 1px solid black;
121-
padding: 0.25em 0.5em;
121+
padding: 0 0.5em;
122122
}
123123
124124
.body .cell {
@@ -139,7 +139,7 @@ const rows = computed(() => {
139139
}
140140
141141
.cell.true::before {
142-
content: "";
142+
content: " ";
143143
}
144144
145145
.cell.true::after {
@@ -151,7 +151,7 @@ const rows = computed(() => {
151151
}
152152
153153
.cell.false::before {
154-
content: "\a0";
154+
content: "\a0\a0";
155155
}
156156
157157
.cell.invalid {

0 commit comments

Comments
 (0)