@@ -95,41 +95,33 @@ const tags = computed(() => {
9595<template >
9696 <div
9797 v-if =" current"
98- flex
99- flex-col
100- h-full
101- max-h-full
102- overflow-hidden
98+ class =" flex flex-col h-full max-h-full overflow-hidden"
10399 data-testid =" file-detail"
104100 >
105101 <div >
106- <div p = " 2 " h-10 flex = " ~ gap-2" items-center bg-header border = " b base" >
102+ <div class = " p-2 h-10 flex gap-2 items-center bg-header border-b border- base" >
107103 <StatusIcon :state =" current .result ?.state " :mode =" current .mode " :failed-snapshot =" failedSnapshot " />
108- <div v-if =" isTypecheck" v-tooltip.bottom =" 'This is a typecheck test. It won\'t report results of the runtime tests'" class =" i-logos:typescript-icon" flex-shrink-0 />
109- <span v-if =" label" class =" rounded-sm px-1 text-xs font-light bg-cyan-500/20 text-cyan-700 dark:text-cyan-300" flex-shrink-0 >{{ label }}</span >
104+ <div v-if =" isTypecheck" v-tooltip.bottom =" 'This is a typecheck test. It won\'t report results of the runtime tests'" class =" i-logos:typescript-icon flex-shrink-0" />
105+ <span v-if =" label" class =" rounded-sm px-1 text-xs font-light bg-cyan-500/20 text-cyan-700 dark:text-cyan-300 flex-shrink-0" >{{ label }}</span >
110106 <span
111107 v-if =" current?.file.projectName"
112- class =" rounded-full py-0.5 px-2 text-xs font-light"
108+ class =" rounded-full py-0.5 px-2 text-xs font-light cursor-default "
113109 :style =" projectBadgeStyle"
114- cursor-default
115110 >
116111 {{ current.file.projectName }}
117112 </span >
118- <div flex-1 font-light overflow-hidden text-sm flex >
119- <span op-50 truncate >
113+ <div class = " flex-1 font-light overflow-hidden text-sm flex" >
114+ <span class = " op-50 truncate" >
120115 {{ testTitle }}
121116 </span >
122117
123118 <span
124119 v-for =" tag of tags"
125120 :key =" tag.name"
126121 v-tooltip.bottom =" tag.description"
127- class =" rounded-full ml-2 px-2 text-xs font-light"
122+ class =" rounded-full ml-2 px-2 text-xs font-light cursor-default flex items-center "
128123 :style =" { backgroundColor: tag.bg, color: tag.text, border: `1px solid ${tag.border}` }"
129124 :title =" tag.description"
130- cursor-default
131- flex
132- items-center
133125 >
134126 {{ tag.name }}
135127 </span >
@@ -146,10 +138,9 @@ const tags = computed(() => {
146138 <DetailsHeaderButtons v-if =" browserState " />
147139 </div >
148140 </div >
149- <div flex = " ~ " items-center bg-header border = " b-2 base " text-sm h-41px >
141+ <div class = " flex items-center bg-header border-base border- b-2 text-sm h-41px" >
150142 <button
151- tab-button
152- class =" flex items-center gap-2"
143+ class =" flex items-center gap-2 tab-button"
153144 :class =" { 'tab-button-active': viewMode == null }"
154145 data-testid =" btn-report"
155146 @click =" changeViewMode(null)"
@@ -158,29 +149,26 @@ const tags = computed(() => {
158149 Report
159150 </button >
160151 <button
161- tab-button
162152 data-testid =" btn-graph"
163- class =" flex items-center gap-2"
153+ class =" flex items-center gap-2 tab-button "
164154 :class =" { 'tab-button-active': viewMode === 'graph' }"
165155 @click =" changeViewMode('graph')"
166156 >
167157 <span class =" block w-1.4em h-1.4em i-carbon:chart-relationship" />
168158 Module Graph
169159 </button >
170160 <button
171- tab-button
172161 data-testid =" btn-code"
173- class =" flex items-center gap-2"
162+ class =" flex items-center gap-2 tab-button "
174163 :class =" { 'tab-button-active': viewMode === 'editor' }"
175164 @click =" changeViewMode('editor')"
176165 >
177166 <span class =" block w-1.4em h-1.4em i-carbon:code" />
178167 {{ draft ? "*  ; " : "" }}Code
179168 </button >
180169 <button
181- tab-button
182170 data-testid =" btn-console"
183- class =" flex items-center gap-2"
171+ class =" flex items-center gap-2 tab-button "
184172 :class =" {
185173 'tab-button-active': viewMode === 'console',
186174 'op20': viewMode !== 'console' && consoleCount === 0,
@@ -193,7 +181,7 @@ const tags = computed(() => {
193181 </div >
194182 </div >
195183
196- <div flex flex-col flex-1 overflow = " hidden" >
184+ <div class = " flex flex-col flex-1 overflow- hidden" >
197185 <FileDetailsModuleGraph
198186 v-if =" viewMode === ' graph' "
199187 :key =" ` graph:${current .id } ` "
0 commit comments