动态菜单和动态路由的 antd pro

index.less 416B

1234567891011121314151617181920212223242526
  1. @import '~antd/lib/style/themes/default.less';
  2. .editableItem {
  3. line-height: @input-height-base;
  4. display: table;
  5. width: 100%;
  6. margin-top: (@font-size-base * @line-height-base - @input-height-base) / 2;
  7. .wrapper {
  8. display: table-row;
  9. & > * {
  10. display: table-cell;
  11. }
  12. & > *:first-child {
  13. width: 85%;
  14. }
  15. .icon {
  16. cursor: pointer;
  17. text-align: right;
  18. }
  19. }
  20. }