From a9fbf5de3b02c1ae3c65aca7b0a795b8b35ea3ec Mon Sep 17 00:00:00 2001 From: Ayush Date: Mon, 13 Apr 2026 21:06:18 +0530 Subject: [PATCH] Migrated CSS of Testing History Panel File into Tailwind Signed-off-by: Ayush --- console/atest-ui/src/assets/main.css | 4 + .../src/views/TestingHistoryPanel.vue | 88 ++----------------- console/atest-ui/tailwind.config.js | 5 +- 3 files changed, 16 insertions(+), 81 deletions(-) diff --git a/console/atest-ui/src/assets/main.css b/console/atest-ui/src/assets/main.css index 81f557c0..4a332bcc 100644 --- a/console/atest-ui/src/assets/main.css +++ b/console/atest-ui/src/assets/main.css @@ -1,5 +1,9 @@ @import './base.css'; +@tailwind base; +@tailwind components; +@tailwind utilities; + #app { margin: 0 auto; height: 100vh; diff --git a/console/atest-ui/src/views/TestingHistoryPanel.vue b/console/atest-ui/src/views/TestingHistoryPanel.vue index aad566ae..ef3a2df8 100644 --- a/console/atest-ui/src/views/TestingHistoryPanel.vue +++ b/console/atest-ui/src/views/TestingHistoryPanel.vue @@ -2,6 +2,7 @@ import TestCase from './TestCase.vue' import TemplateFunctions from './TemplateFunctions.vue' import { ref, watch } from 'vue' +import { API } from './net' import { ElTree, ElMessage } from 'element-plus' import { Refresh } from '@element-plus/icons-vue' import { Cache } from './cache' @@ -231,13 +232,13 @@ const viewName = ref('') - diff --git a/console/atest-ui/tailwind.config.js b/console/atest-ui/tailwind.config.js index d947ab17..55d1fb97 100644 --- a/console/atest-ui/tailwind.config.js +++ b/console/atest-ui/tailwind.config.js @@ -1,6 +1,9 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [], + content: [ + "./index.html", + "./src/**/*.{vue,js,ts,jsx,tsx}", + ], theme: { extend: {}, },