Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
a6bc4d39
Unverified
Commit
a6bc4d39
authored
Jan 04, 2019
by
Hayden Adams
Committed by
GitHub
Jan 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #182 from mirshko/fix-responsive-issue
fix issue w/ responsiveness due to media querie
parents
df3f8e98
b96db4ef
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
13 deletions
+14
-13
contextual-info.scss
src/components/ContextualInfo/contextual-info.scss
+1
-1
currency-panel.scss
src/components/CurrencyInputPanel/currency-panel.scss
+1
-1
header.scss
src/components/Header/header.scss
+1
-1
index.scss
src/index.scss
+1
-1
App.js
src/pages/App.js
+1
-1
App.scss
src/pages/App.scss
+4
-3
index.js
src/pages/Pool/index.js
+1
-1
pool.scss
src/pages/Pool/pool.scss
+2
-2
index.js
src/pages/Send/index.js
+1
-1
index.js
src/pages/Swap/index.js
+1
-1
No files found.
src/components/ContextualInfo/contextual-info.scss
View file @
a6bc4d39
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
border-top-right-radius
:
1rem
;
border-top-right-radius
:
1rem
;
transition
:
250ms
ease-in-out
;
transition
:
250ms
ease-in-out
;
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
max-width
:
560px
;
max-width
:
560px
;
position
:
absolute
;
position
:
absolute
;
margin-left
:
auto
;
margin-left
:
auto
;
...
...
src/components/CurrencyInputPanel/currency-panel.scss
View file @
a6bc4d39
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
font-weight
:
200
;
font-weight
:
200
;
}
}
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
max-width
:
560px
;
max-width
:
560px
;
max-height
:
768px
;
max-height
:
768px
;
position
:
absolute
;
position
:
absolute
;
...
...
src/components/Header/header.scss
View file @
a6bc4d39
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
}
}
}
}
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
//position: fixed;
//position: fixed;
top
:
0px
;
top
:
0px
;
left
:
0px
;
left
:
0px
;
...
...
src/index.scss
View file @
a6bc4d39
...
@@ -22,7 +22,7 @@ html, body {
...
@@ -22,7 +22,7 @@ html, body {
background-color
:
$white
;
background-color
:
$white
;
z-index
:
100
;
z-index
:
100
;
-webkit-tap-highlight-color
:
rgba
(
255
,
255
,
255
,
0
);
-webkit-tap-highlight-color
:
rgba
(
255
,
255
,
255
,
0
);
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
}
}
...
...
src/pages/App.js
View file @
a6bc4d39
...
@@ -40,7 +40,7 @@ class App extends Component {
...
@@ -40,7 +40,7 @@ class App extends Component {
return
(
return
(
<
div
id
=
"
app-container
"
>
<
div
id
=
"
app-container
"
>
<
MediaQuery
query
=
"
(min-
device-
width: 768px)
"
>
<
MediaQuery
query
=
"
(min-width: 768px)
"
>
<
Header
/>
<
Header
/>
<
/MediaQuery
>
<
/MediaQuery
>
<
Web3Connect
/>
<
Web3Connect
/>
...
...
src/pages/App.scss
View file @
a6bc4d39
...
@@ -5,9 +5,10 @@
...
@@ -5,9 +5,10 @@
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
margin
:
auto
;
margin
:
auto
;
width
:
560px
;
max-width
:
560px
;
width
:
100%
;
}
}
&
>
div
{
&
>
div
{
...
@@ -25,7 +26,7 @@
...
@@ -25,7 +26,7 @@
height
:
100vh
;
height
:
100vh
;
@extend
%col-nowrap
;
@extend
%col-nowrap
;
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
//max-width: 560px;
//max-width: 560px;
}
}
}
}
src/pages/Pool/index.js
View file @
a6bc4d39
...
@@ -16,7 +16,7 @@ class Pool extends Component {
...
@@ -16,7 +16,7 @@ class Pool extends Component {
render
()
{
render
()
{
return
(
return
(
<
div
className
=
"
pool
"
>
<
div
className
=
"
pool
"
>
<
MediaQuery
query
=
"
(max-
device-
width: 768px)
"
>
<
MediaQuery
query
=
"
(max-width: 768px)
"
>
<
Header
/>
<
Header
/>
<
/MediaQuery
>
<
/MediaQuery
>
<
Switch
>
<
Switch
>
...
...
src/pages/Pool/pool.scss
View file @
a6bc4d39
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
border-top-right-radius
:
1rem
;
border-top-right-radius
:
1rem
;
transition
:
250ms
ease-in-out
;
transition
:
250ms
ease-in-out
;
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
max-width
:
560px
;
max-width
:
560px
;
position
:
absolute
;
position
:
absolute
;
margin-left
:
auto
;
margin-left
:
auto
;
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
transition
:
250ms
ease-in-out
;
transition
:
250ms
ease-in-out
;
padding
:
1rem
0
.5rem
;
padding
:
1rem
0
.5rem
;
@media
only
screen
and
(
min-
device-
width
:
768px
)
{
@media
only
screen
and
(
min-width
:
768px
)
{
max-width
:
560px
;
max-width
:
560px
;
position
:
absolute
;
position
:
absolute
;
margin-left
:
auto
;
margin-left
:
auto
;
...
...
src/pages/Send/index.js
View file @
a6bc4d39
...
@@ -719,7 +719,7 @@ class Send extends Component {
...
@@ -719,7 +719,7 @@ class Send extends Component {
return
(
return
(
<
div
className
=
"
send
"
>
<
div
className
=
"
send
"
>
<
MediaQuery
query
=
"
(max-
device-
width: 767px)
"
>
<
MediaQuery
query
=
"
(max-width: 767px)
"
>
<
Header
/>
<
Header
/>
<
/MediaQuery
>
<
/MediaQuery
>
<
div
<
div
...
...
src/pages/Swap/index.js
View file @
a6bc4d39
...
@@ -701,7 +701,7 @@ class Swap extends Component {
...
@@ -701,7 +701,7 @@ class Swap extends Component {
return
(
return
(
<
div
className
=
"
swap
"
>
<
div
className
=
"
swap
"
>
<
MediaQuery
query
=
"
(max-
device-
width: 767px)
"
>
<
MediaQuery
query
=
"
(max-width: 767px)
"
>
<
Header
/>
<
Header
/>
<
/MediaQuery
>
<
/MediaQuery
>
<
div
<
div
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment