patch.less 410 B

123456789101112131415161718192021222324252627
  1. @image-prefix-cls: ~'@{ant-prefix}-image';
  2. .cdk-overlay-backdrop {
  3. &.ant-image-preview-mask {
  4. opacity: 1;
  5. }
  6. }
  7. .cdk-global-overlay-wrapper[dir='rtl'] {
  8. .@{image-prefix-cls} {
  9. &-preview {
  10. &-switch-left {
  11. right: 10px;
  12. left: unset;
  13. rotate: 180deg;
  14. }
  15. &-switch-right {
  16. right: unset;
  17. left: 10px;
  18. rotate: 180deg;
  19. }
  20. }
  21. }
  22. }