@stokr/components-library 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { Link } from "react-router-dom";
|
|
3
3
|
import grid from "../../styles/grid.js";
|
|
4
|
-
import rwd
|
|
4
|
+
import rwd from "../../styles/rwd.js";
|
|
5
5
|
import { colors } from "../../styles/colors.js";
|
|
6
6
|
import { glyph, withGlyph } from "../MaterialIcon/glyph.js";
|
|
7
7
|
const ModalRoot = styled.div`
|
|
@@ -91,20 +91,6 @@ const Box = styled.div.withConfig({
|
|
|
91
91
|
${(props) => props.maxWidth && `
|
|
92
92
|
max-width: ${props.maxWidth} !important;
|
|
93
93
|
`}
|
|
94
|
-
|
|
95
|
-
/* Below MLarge every modal fills the viewport instead of floating as a card (kyc keeps its own sizing). */
|
|
96
|
-
${(props) => !props.kyc && rwdMax.MLarge`
|
|
97
|
-
display: flex;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
width: 100%;
|
|
101
|
-
height: auto;
|
|
102
|
-
min-height: 100vh;
|
|
103
|
-
min-height: 100dvh;
|
|
104
|
-
max-width: none !important;
|
|
105
|
-
max-height: none !important;
|
|
106
|
-
box-shadow: none;
|
|
107
|
-
`}
|
|
108
94
|
`;
|
|
109
95
|
const ModalInnerSmartContractAddress = styled.input`
|
|
110
96
|
color: ${colors.black};
|