Skip to content

Commit e13a62c

Browse files
authored
Update index.html
1 parent d8e0996 commit e13a62c

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

index.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
z-index: 5;
6868
}
6969

70-
/* Inverted Radius using mask-image */
70+
/* Mask-Image swoop for inverted corners */
7171
.tab.active::before,
7272
.tab.active::after {
7373
content: "";
@@ -81,14 +81,14 @@
8181

8282
.tab.active::before {
8383
left: -16px;
84-
mask-image: radial-gradient(circle at 0 0, transparent 16px, black 16px);
8584
-webkit-mask-image: radial-gradient(circle at 0 0, transparent 16px, black 16px);
85+
mask-image: radial-gradient(circle at 0 0, transparent 16px, black 16px);
8686
}
8787

8888
.tab.active::after {
8989
right: -16px;
90-
mask-image: radial-gradient(circle at 100% 0, transparent 16px, black 16px);
9190
-webkit-mask-image: radial-gradient(circle at 100% 0, transparent 16px, black 16px);
91+
mask-image: radial-gradient(circle at 100% 0, transparent 16px, black 16px);
9292
}
9393

9494
.tab-favicon {
@@ -121,7 +121,7 @@
121121
.tab:hover .tab-close, .tab.active .tab-close { opacity: 0.5; }
122122
.tab-close:hover { opacity: 1 !important; background: rgba(255,255,255,0.1); }
123123

124-
/* --- Nav Bar --- */
124+
/* --- Navigation Bar --- */
125125
.nav-bar {
126126
background: var(--nav-bg);
127127
height: 44px;
@@ -154,7 +154,7 @@
154154

155155
.address-box {
156156
position: relative;
157-
width: 800px; /* Made the URL address bar longer */
157+
width: 950px; /* LONGER URL BAR */
158158
margin: 0 auto;
159159
}
160160

@@ -186,7 +186,6 @@
186186
color: #333;
187187
}
188188

189-
/* --- Viewport --- */
190189
.viewport {
191190
flex: 1;
192191
position: relative;
@@ -221,7 +220,6 @@
221220
</style>
222221
</head>
223222
<body>
224-
225223
<div class="tab-strip">
226224
<div class="tabs-container" id="tabs-container"></div>
227225
<button id="add-tab">
@@ -326,7 +324,6 @@
326324
setActiveTab(t.id);
327325
return;
328326
}
329-
330327
const idx = tabs.findIndex(t => t.id === id);
331328
tabs = tabs.filter(t => t.id !== id);
332329
document.getElementById(`iframe-${id}`).remove();
@@ -392,15 +389,12 @@
392389
t.title = e.data.title || t.title;
393390
if (e.data.url) t.url = e.data.url;
394391
renderTabs();
395-
if (activeTabId === t.id) addressInput.value = getDisplayUrl(t.url);
396392
}
397393
}
398394
});
399395

400-
// Init first tab
401396
addTab();
402397

403-
// Control handlers
404398
document.getElementById('back').onclick = () => document.getElementById(`iframe-${activeTabId}`).contentWindow.history.back();
405399
document.getElementById('forward').onclick = () => document.getElementById(`iframe-${activeTabId}`).contentWindow.history.forward();
406400
document.getElementById('reload').onclick = () => {

0 commit comments

Comments
 (0)