Skip to content

Commit 27b1ced

Browse files
authored
Merge 3d5f52f into 90b8a5a
2 parents 90b8a5a + 3d5f52f commit 27b1ced

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

special-pages/pages/new-tab/app/components/Components.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,16 @@ function TextLength() {
171171
function Isolate() {
172172
const next = new URL(url);
173173
next.searchParams.set('isolate', 'true');
174+
const prod = new URL('/build/pages/new-tab', 'https://content-scope-scripts.netlify.app');
175+
prod.search = url.search;
174176
return (
175177
<div class={styles.buttonRow}>
176178
<a href={next.toString()} target={'_blank'}>
177179
Isolate (open in a new tab)
178180
</a>
181+
<a href={prod.toString()} target={'_blank'}>
182+
Open in Production (new tab)
183+
</a>
179184
</div>
180185
);
181186
}

special-pages/pages/new-tab/app/remote-messaging-framework/components/RemoteMessagingFramework.module.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
animation: animate-fade .2s cubic-bezier(0.55, 0.055, 0.666, 0.19);
1515
margin-bottom: var(--ntp-gap);
1616

17-
1817
&.icon {
1918
padding-left: var(--sp-2);
2019
}
@@ -24,11 +23,10 @@
2423
margin-right: var(--sp-2);
2524
width: 3rem;
2625
min-width: 3rem;
26+
display: block;
2727
}
2828

29-
.content {
30-
flex-grow: 1;
31-
}
29+
.content {}
3230

3331
.title {
3432
font-size: var(--body-font-size);
@@ -45,6 +43,7 @@
4543
.btnBlock {
4644
margin-left: var(--sp-3);
4745
align-self: center;
46+
flex-shrink: 0;
4847
}
4948

5049
.btnRow {

0 commit comments

Comments
 (0)