Skip to content

Commit

Permalink
fix: tailwindcss初始化样式影响部分icon展示 --Bug=129803939 (TencentBlueKing#2689)
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 16773
  • Loading branch information
liangling0628 authored Aug 28, 2024
1 parent efff908 commit 475f028
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bkmonitor/webpack/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @type {import('postcss-load-config').Config} */
module.exports = {
plugins: [
require('tailwindcss'),
require('tailwindcss/nesting'),
// require('tailwindcss'),
// require('tailwindcss/nesting'),
require('postcss-preset-env')({
stage: 2,
features: {
Expand Down
3 changes: 2 additions & 1 deletion bkmonitor/webpack/src/apm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ import store from './store/store';
import 'monitor-pc/common/global-login';

import './static/scss/global.scss';
import 'monitor-pc/static/css/reset.scss';
import 'monitor-static/icons/monitor-icons.css';
import 'monitor-pc/tailwind.css';
// import 'monitor-pc/tailwind.css';
Vue.config.devtools = process.env.NODE_ENV === 'development';
window.source_app = 'apm';
const spaceUid = getUrlParam('space_uid');
Expand Down
3 changes: 2 additions & 1 deletion bkmonitor/webpack/src/fta-solutions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ import store from './store/store';
import 'monitor-pc/common/global-login';

import './static/scss/global.scss';
import 'monitor-pc/static/css/reset.scss';
import 'monitor-static/icons/monitor-icons.css';
import 'monitor-pc/tailwind.css';
// import 'monitor-pc/tailwind.css';
Vue.config.devtools = process.env.NODE_ENV === 'development';
window.source_app = 'fta';
const spaceUid = getUrlParam('space_uid');
Expand Down
2 changes: 1 addition & 1 deletion bkmonitor/webpack/src/monitor-pc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import store from './store/store';
import './static/css/global.scss';
import './static/css/reset.scss';
import 'monitor-static/icons/monitor-icons.css';
import './tailwind.css';
// import './tailwind.css';
// todo: 子应用externals
// import './common/externals';
// app 标识
Expand Down
3 changes: 2 additions & 1 deletion bkmonitor/webpack/src/trace/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ import 'monitor-pc/common/global-login';

import './static/scss/global.scss';
import 'monitor-static/icons/monitor-icons.css';
import 'monitor-pc/tailwind.css';
import 'monitor-pc/static/css/reset.scss';
// import 'monitor-pc/tailwind.css';
window.source_app = 'trace';
const spaceUid = getUrlParam('space_uid');
const bizId = getUrlParam('bizId')?.replace(/\//gim, '');
Expand Down

0 comments on commit 475f028

Please sign in to comment.