Skip to content

Commit 0f88993

Browse files
authored
Merge pull request QuickSwap#1736 from QuickSwap/hotfix/fix-ui-padding-farms-analytics
Fix padding issues on some pages and a mobile UI issue
2 parents e26ea9f + e9237c8 commit 0f88993

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

src/components/v3/RemoveLiquidityV3/index.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,11 @@
4040
height: 24px;
4141
border-radius: 10px;
4242
margin-left: 8px;
43+
min-width: 0;
44+
45+
@include media('screen', '<phone') {
46+
padding: 5px;
47+
font-size: 12px;
48+
}
4349
}
4450
}

src/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ wcm-modal {
213213
align-items: center;
214214
flex-direction: column;
215215
margin: 0 auto;
216-
padding: 152px 0;
216+
padding: 152px 24px 0;
217217
@include media('screen', '<tablet') {
218218
padding: 190px 12px 0;
219219
}

src/pages/PoolsPage/PoolsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const PoolsPage: React.FC = () => {
7878
}, [showPools]);
7979

8080
return (
81-
<Box mb={3} className='pageContainer' width='100%'>
81+
<Box mb={3} width='100%'>
8282
{isMobile ? (
8383
<>
8484
<Box mt={2} mb={2} className='pageHeading items-center'>

src/pages/styles/pools.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@
6262
}
6363
}
6464

65-
.pageContainer {
66-
padding: 24px;
67-
@include media('screen', '<phone') {
68-
padding: 12px;
69-
}
70-
}
71-
7265
.selectDepositContainer {
7366
gap: 16px;
7467
@include media('screen', '<phone') {

0 commit comments

Comments
 (0)