js,css tweaks

This commit is contained in:
Greg Shuflin 2025-02-02 14:13:02 -08:00
parent 29846aee3d
commit 3fbd14191a
2 changed files with 4 additions and 8 deletions

View File

@ -295,7 +295,7 @@ button:disabled {
.feed-name {
display: block;
padding: 0.75rem;
padding: 0.15rem;
margin: 0.25rem 0;
color: var(--text-color);
text-decoration: none;

View File

@ -30,9 +30,6 @@ document.addEventListener('click', (e) => {
});
function renderFeedItem(feed) {
const container = document.createElement('div');
container.style.position = 'relative';
const name = document.createElement('span');
name.className = 'feed-name';
name.textContent = feed.name;
@ -79,8 +76,7 @@ function renderFeedItem(feed) {
menu.appendChild(deleteItem);
name.appendChild(menuButton);
name.appendChild(menu);
container.appendChild(name);
return container;
return name;
}
async function handleFeeds() {