fix: minor ui improvements
This commit is contained in:
@@ -1,5 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="bg-primary flex p-4 top-0 z-10 sticky items-center">
|
<div
|
||||||
|
class="
|
||||||
|
bg-primary
|
||||||
|
flex
|
||||||
|
p-4
|
||||||
|
top-0
|
||||||
|
z-10
|
||||||
|
sticky
|
||||||
|
items-center
|
||||||
|
overflow-auto
|
||||||
|
hide-scrollbar
|
||||||
|
whitespace-nowrap
|
||||||
|
"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-if="response == null"
|
v-if="response == null"
|
||||||
class="
|
class="
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<span class="text-secondaryLight">
|
<span class="text-secondaryLight">
|
||||||
{{
|
{{
|
||||||
` \xA0 — \xA0 ${
|
` \xA0 — \xA0 ${
|
||||||
result.status === "pass" ? t("test.passed") : t("test.failed")
|
result.status === "pass" ? $t("test.passed") : $t("test.failed")
|
||||||
}`
|
}`
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
@@ -40,9 +40,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { PropType } from "@nuxtjs/composition-api"
|
import { PropType } from "@nuxtjs/composition-api"
|
||||||
import { HoppTestResult } from "~/helpers/types/HoppTestResult"
|
import { HoppTestResult } from "~/helpers/types/HoppTestResult"
|
||||||
import { useI18n } from "~/helpers/utils/composables"
|
|
||||||
|
|
||||||
const t = useI18n()
|
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
testResults: {
|
testResults: {
|
||||||
|
|||||||
@@ -94,9 +94,11 @@ export const baseTheme = EditorView.theme({
|
|||||||
".cm-activeLine": { backgroundColor: "transparent" },
|
".cm-activeLine": { backgroundColor: "transparent" },
|
||||||
".cm-searchMatch": {
|
".cm-searchMatch": {
|
||||||
outline: "1px solid var(--accent-dark-color)",
|
outline: "1px solid var(--accent-dark-color)",
|
||||||
|
backgroundColor: "var(--divider-dark-color)",
|
||||||
},
|
},
|
||||||
".cm-selectionMatch": {
|
".cm-selectionMatch": {
|
||||||
outline: "1px solid var(--accent-dark-color)",
|
outline: "1px solid var(--accent-dark-color)",
|
||||||
|
backgroundColor: "var(--divider-light-color)",
|
||||||
},
|
},
|
||||||
".cm-matchingBracket, .cm-nonmatchingBracket": {
|
".cm-matchingBracket, .cm-nonmatchingBracket": {
|
||||||
backgroundColor: "var(--divider-color)",
|
backgroundColor: "var(--divider-color)",
|
||||||
|
|||||||
Reference in New Issue
Block a user