Skip to content

Commit

Permalink
fix: make UI consistent across browsers (#120)
Browse files Browse the repository at this point in the history
tested on Chrome, Firefox Dev Edition, Firefox, and Safari
  • Loading branch information
ydcjeff committed May 21, 2021
1 parent df3063a commit 18298cf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist-ssr
*.local
__pycache__
*.log
.vscode
5 changes: 4 additions & 1 deletion src/components/FormSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ function toTitleCase(v) {
position: relative;
}
.selector select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: var(--c-white-light);
border-radius: 3px;
Expand All @@ -85,13 +87,14 @@ function toTitleCase(v) {
font-size: var(--font-size);
padding: 0.5rem 1rem;
text-align: center;
text-align-last: center;
width: 100%;
}
.selector::after {
content: '';
position: absolute;
right: 1rem;
bottom: 16px;
bottom: 15px;
border-top: 6px solid var(--c-brand-red);
border-left: 4px solid transparent;
border-right: 4px solid transparent;
Expand Down
1 change: 1 addition & 0 deletions src/components/Instruction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
margin: 25% auto;
text-align: center;
color: #a1a1aa;
text-transform: capitalize;
}
.iconify {
vertical-align: middle;
Expand Down
3 changes: 3 additions & 0 deletions src/components/PaneLeft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export default {
scrollbar-width: none;
border-bottom: 1px solid var(--c-white-dark);
}
.left-pane-tabs::-webkit-scrollbar {
display: none;
}
.left-pane-tabs,
.left-pane-contexts {
padding-left: 1.5rem;
Expand Down
3 changes: 3 additions & 0 deletions src/components/PaneRight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export default {
scrollbar-width: none;
border-bottom: 1px solid var(--c-white-dark);
}
.right-pane-tabs::-webkit-scrollbar {
display: none;
}
.right-pane-tabs,
.right-pane-contexts {
padding-right: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion src/components/PaneSplit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import { ref } from 'vue'
export default {
setup() {
const width = ref(45)
const width = ref(50)
const isDragging = ref(false)
const clicked = ref(false)
const container = ref()
Expand Down

0 comments on commit 18298cf

Please sign in to comment.