Skip to content

Commit

Permalink
small style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmegatelo committed Dec 4, 2024
1 parent 2b7363d commit 8ae68c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions feed/static/feed/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,12 @@ a:hover {
gap: calc(var(--grid-step) * 0.5);
}

.feed-parsing-result {
&:empty {
display: none;
}
}

.feed-description__text {
font-size: 0.833rem;
line-height: 1.25rem;
Expand Down
2 changes: 1 addition & 1 deletion feed/templates/dialogs/feed/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% block body %}
{% include 'forms/feed_new.html' %}
<div id="feed-parsing-result"></div>
<div class="feed-parsing-result" id="feed-parsing-result"></div>
{% endblock %}
2 changes: 1 addition & 1 deletion feed/templates/forms/feed_new.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
</button>
</div>
</form>
<div id="feed-parsing-result" hx-swap-oob="true">
<div class="feed-parsing-result" id="feed-parsing-result" hx-swap-oob="true">
{% block result %}{% endblock %}
</div>
1 change: 0 additions & 1 deletion feed/views/api/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def get_feed_url_name(self):
return "api_feed_feed_list"

def get_context_data(self, **kwargs):
print("triggered feed item list view")
context = super().get_context_data(**kwargs)
context["feed_id"] = self.kwargs.get("feed_id")
context["feed"] = Feed.objects.get(id=context["feed_id"])
Expand Down

0 comments on commit 8ae68c8

Please sign in to comment.