reviseDrawer.scss 579 B

12345678910111213141516171819202122232425262728293031
  1. // 导入全局样式变量
  2. @import '@/styles/variables.scss';';
  3. // ===== 修订工具 Drawer 样式 =====
  4. // 说明:只定义页面特定的样式
  5. // 加载容器
  6. .ant-spin-nested-loading {
  7. height: 100% !important;
  8. }
  9. // PDF 页面样式
  10. .pdf-page {
  11. width: 100% !important;
  12. canvas {
  13. width: 100% !important;
  14. height: auto !important;
  15. }
  16. }
  17. .pdf-page-wrapper {
  18. width: 100%;
  19. }
  20. // PDF 占位符 - 使用全局背景色
  21. .pdf-page-placeholder {
  22. width: 100%;
  23. aspect-ratio: 1 / 1.3;
  24. background: @bg-tertiary; // 使用全局变量
  25. }