PreviewModal.styled.ts 777 B

123456789101112131415161718192021222324252627282930313233343536
  1. import styled from 'styled-components';
  2. export const PreviewModal = styled.div`
  3. height: auto;
  4. width: 560px;
  5. border-radius: 8px;
  6. background: ${({ theme }) => theme.modal.backgroundColor};
  7. position: absolute;
  8. left: 25%;
  9. top: 30px; // some margin
  10. border: 1px solid ${({ theme }) => theme.modal.border.contrast};
  11. box-shadow: ${({ theme }) => theme.modal.shadow};
  12. padding: 32px;
  13. z-index: 1;
  14. `;
  15. export const ButtonWrapper = styled.div`
  16. width: 100%;
  17. display: flex;
  18. justify-content: center;
  19. margin-top: 20px;
  20. gap: 10px;
  21. `;
  22. export const EditForm = styled.div`
  23. font-weight: 500;
  24. padding-bottom: 7px;
  25. display: flex;
  26. `;
  27. export const Field = styled.div`
  28. text-overflow: ellipsis;
  29. white-space: nowrap;
  30. overflow: hidden;
  31. margin-right: 5px;
  32. `;