aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/style/media.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-10 07:15:57 +0800
committerGitHub <noreply@github.com>2018-11-10 07:15:57 +0800
commit2c585bfbdc4940e3e6089ac1cf595dd009b141d2 (patch)
tree39f6fc63a8c9b26b0ef9a1ea34afde213b573c3f /packages/instant/src/style/media.ts
parentb4a11de097258d37fa9271e64fc28a1d012a8d26 (diff)
downloaddexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.tar
dexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.tar.gz
dexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.tar.bz2
dexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.tar.lz
dexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.tar.xz
dexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.tar.zst
dexon-sol-tools-2c585bfbdc4940e3e6089ac1cf595dd009b141d2.zip
feat(instant): Dismissible overlay error messages
Adds dismissible overlay to error messages on mobile
Diffstat (limited to 'packages/instant/src/style/media.ts')
-rw-r--r--packages/instant/src/style/media.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/style/media.ts b/packages/instant/src/style/media.ts
index 5e7aaba37..bbf376694 100644
--- a/packages/instant/src/style/media.ts
+++ b/packages/instant/src/style/media.ts
@@ -8,7 +8,7 @@ export enum ScreenWidths {
Lg = 64,
}
-const generateMediaWrapper = (screenWidth: ScreenWidths) => (...args: any[]) => css`
+export const generateMediaWrapper = (screenWidth: ScreenWidths) => (...args: any[]) => css`
@media (max-width: ${screenWidth}em) {
${css.apply(css, args)};
}