Compare commits
2 Commits
f60369d2c8
...
279f952c99
| Author | SHA1 | Date | |
|---|---|---|---|
|
279f952c99
|
|||
|
b1fdd211b4
|
@@ -729,6 +729,14 @@ function setupLinkEdit(): void {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Also include pending add form input (if user forgot to click +)
|
||||||
|
if (addService && addUsername) {
|
||||||
|
const pendingUsername = addUsername.value.trim()
|
||||||
|
if (pendingUsername) {
|
||||||
|
links.push({ service: addService.value, username: pendingUsername })
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
saveBtn.textContent = 'Saving...'
|
saveBtn.textContent = 'Saving...'
|
||||||
;(saveBtn as HTMLButtonElement).disabled = true
|
;(saveBtn as HTMLButtonElement).disabled = true
|
||||||
|
|||||||
@@ -2010,37 +2010,36 @@ body {
|
|||||||
/* Browser row layout */
|
/* Browser row layout */
|
||||||
.browser-row {
|
.browser-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.browser-row .collection-buttons {
|
.browser-row .collection-buttons {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Link buttons (compact, next to collection buttons) */
|
/* Link buttons (same style as collection buttons) */
|
||||||
.link-buttons {
|
.link-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 6px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-btn {
|
.link-btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 6px;
|
||||||
padding: 5px 10px;
|
padding: 6px 12px;
|
||||||
border-radius: 6px;
|
background: #f5f5f5;
|
||||||
|
border-radius: 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: #333;
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
transition: opacity 0.2s, transform 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-btn:hover {
|
.link-btn:hover {
|
||||||
opacity: 0.9;
|
background: #e8e8e8;
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-btn-icon {
|
.link-btn-icon {
|
||||||
@@ -2055,23 +2054,6 @@ body {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-btn-name {
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Link button colors */
|
|
||||||
.link-btn-github {
|
|
||||||
background: #24292e;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-btn-x {
|
|
||||||
background: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-btn-youtube {
|
|
||||||
background: #ff0000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no-collections,
|
.no-collections,
|
||||||
.no-records {
|
.no-records {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
@@ -2222,6 +2204,13 @@ body {
|
|||||||
.collection-btn:hover {
|
.collection-btn:hover {
|
||||||
background: #3a3a3a;
|
background: #3a3a3a;
|
||||||
}
|
}
|
||||||
|
.link-btn {
|
||||||
|
background: #2a2a2a;
|
||||||
|
color: #e0e0e0;
|
||||||
|
}
|
||||||
|
.link-btn:hover {
|
||||||
|
background: #3a3a3a;
|
||||||
|
}
|
||||||
.collection-item .collection-link {
|
.collection-item .collection-link {
|
||||||
background: #2a2a2a;
|
background: #2a2a2a;
|
||||||
border-color: #444;
|
border-color: #444;
|
||||||
|
|||||||
Reference in New Issue
Block a user