| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #root {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- }
-
- body {
- margin: 0;
- padding: 0;
- background-color: #f5f5f5;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
- }
-
- /* 覆盖 Ant Design 的一些默认间距,如果需要的话 */
- .ant-layout-header {
- padding-inline: 24px !important;
- }
-
- /* 滚动条样式优化 (可选) */
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar-thumb {
- background: #c1c1c1;
- border-radius: 4px;
- }
- ::-webkit-scrollbar-track {
- background: #f1f1f1;
- }
- /* 让表格悬停时效果更好 */
- .ant-table-tbody > tr.ant-table-row:hover > td {
- background: #fafafa !important;
- }
-
- /* 表格内垂直居中 */
- .align-middle td {
- vertical-align: middle !important;
- }
-
- /* 调整 Modal 的圆角,看起来更圆润 */
- .ant-modal-content {
- border-radius: 12px !important;
- overflow: hidden;
- }
-
- .ant-btn {
- border-radius: 6px;
- }
|