Skip to content

Commit 1d81ba7

Browse files
authored
Merge pull request #1465 from scroll-tech/rollupscan-fetch-once
fix: tailwind style
2 parents a921a67 + 1f72c74 commit 1d81ba7

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

src/app/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ div.markdown-body img {
191191
}
192192

193193
.wrapper {
194-
@apply max-w-7xl p-6 mx-auto w-full overflow-hidden;
194+
@apply max-w-[1280px] p-[24px] mx-auto w-full overflow-hidden;
195195
padding-top: 3rem;
196196
}
197197

198198
@media screen and (max-width: 900px) {
199199
.wrapper {
200-
@apply p-4;
200+
@apply p-[16px];
201201
}
202202
}

src/app/rollupscan/batch/[batchIndex]/chunk/[chunkIndex]/blocks/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const Blocks = () => {
2525
<Box
2626
className="wrapper mx-auto"
2727
sx={{
28+
maxWidth: "130rem",
2829
marginBottom: "16rem",
2930
"& *": {
3031
fontFamily: "var(--developer-page-font-family) !important",

src/app/rollupscan/batch/[batchIndex]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ const Batch = props => {
116116
const renderStatusTooltip = () => {
117117
return (
118118
<>
119-
<p className="mb-1">Precommitted: Batch included in Scroll L2</p>
120-
<p className="mb-1">Committed: Batch transaction data submitted to Ethereum (L1)</p>
121-
<p className="mb-1">Finalized: Batch validity proof submitted to and verified on Ethereum</p>
119+
<p className="mb-[4px]">Precommitted: Batch included in Scroll L2</p>
120+
<p className="mb-[4px]">Committed: Batch transaction data submitted to Ethereum (L1)</p>
121+
<p className="mb-[4px]">Finalized: Batch validity proof submitted to and verified on Ethereum</p>
122122
</>
123123
)
124124
}

src/app/rollupscan/index/Table.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ const RollupTable = function RollupTable(props) {
158158
const params = new URLSearchParams(searchParams.toString())
159159
params.set("page", newPage)
160160
router.push(`${pathname}?${params.toString()}}`)
161-
onPaginationChange({
162-
page: +searchParams.get("page"),
163-
pageSize: +searchParams.get("per_page"),
164-
})
165161
}
166162

167163
if (emptyBatch) {

0 commit comments

Comments
 (0)