Skip to content

Commit f8c5b09

Browse files
authored
fix: make UI consistent across browsers (#120)
tested on Chrome, Firefox Dev Edition, Firefox, and Safari
1 parent e9e9a5a commit f8c5b09

File tree

6 files changed

+13
-2
lines changed

6 files changed

+13
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist-ssr
55
*.local
66
__pycache__
77
*.log
8+
.vscode

src/components/FormSelect.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function toTitleCase(v) {
7676
position: relative;
7777
}
7878
.selector select {
79+
-webkit-appearance: none;
80+
-moz-appearance: none;
7981
appearance: none;
8082
background: var(--c-white-light);
8183
border-radius: 3px;
@@ -85,13 +87,14 @@ function toTitleCase(v) {
8587
font-size: var(--font-size);
8688
padding: 0.5rem 1rem;
8789
text-align: center;
90+
text-align-last: center;
8891
width: 100%;
8992
}
9093
.selector::after {
9194
content: '';
9295
position: absolute;
9396
right: 1rem;
94-
bottom: 16px;
97+
bottom: 15px;
9598
border-top: 6px solid var(--c-brand-red);
9699
border-left: 4px solid transparent;
97100
border-right: 4px solid transparent;

src/components/Instruction.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
margin: 25% auto;
2727
text-align: center;
2828
color: #a1a1aa;
29+
text-transform: capitalize;
2930
}
3031
.iconify {
3132
vertical-align: middle;

src/components/PaneLeft.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ export default {
4949
scrollbar-width: none;
5050
border-bottom: 1px solid var(--c-white-dark);
5151
}
52+
.left-pane-tabs::-webkit-scrollbar {
53+
display: none;
54+
}
5255
.left-pane-tabs,
5356
.left-pane-contexts {
5457
padding-left: 1.5rem;

src/components/PaneRight.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ export default {
7676
scrollbar-width: none;
7777
border-bottom: 1px solid var(--c-white-dark);
7878
}
79+
.right-pane-tabs::-webkit-scrollbar {
80+
display: none;
81+
}
7982
.right-pane-tabs,
8083
.right-pane-contexts {
8184
padding-right: 1.5rem;

src/components/PaneSplit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
import { ref } from 'vue'
4848
export default {
4949
setup() {
50-
const width = ref(45)
50+
const width = ref(50)
5151
const isDragging = ref(false)
5252
const clicked = ref(false)
5353
const container = ref()

0 commit comments

Comments
 (0)