Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix & style: tailwind css conflict and UI problem & clean some codes (#…
…4416) * feat: Replaced mobx with zustand * fix: displayed wrong time and info * fix: The content of badge overflow * style: Collected theme and added dumpKubeObject function * feat: Ingress & Secret resource * fix: errors in using next build * feat: Events overview and new UI components * feat: kubeconfig parser * feat: KubePanel v1.0.0 * fix: merge conflict * fix: Add clear logo and icon * fix: Fixed Sider * feat: Auto deploy * fix: Wrong margin-left in Content due to fixed style Sider * fix: tailwind css conflict with antd * style: clean codes
- Loading branch information
Showing
5 changed files
with
51 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 18 additions & 5 deletions
23
frontend/plugins/kubepanel/src/pages/kubepanel/components/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 0 additions & 68 deletions
68
frontend/plugins/kubepanel/src/services/backend/kubernetes.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/** | ||
* fix: tailwind css conflict with antd | ||
* @link https://github.com/ant-design/ant-design/issues/38794#issuecomment-1345475630 | ||
*/ | ||
@import 'antd/dist/reset.css'; | ||
|
||
*, | ||
::before, | ||
::after { | ||
box-sizing: border-box; /* 1 */ | ||
border-width: 0; /* 2 */ | ||
border-style: solid; /* 2 */ | ||
border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */ | ||
} | ||
|
||
::before, | ||
::after { | ||
--tw-content: ''; | ||
} | ||
|
||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters