File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
django_wtf/templates/core Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2222 < a class ="font-bold " href ="{{ url }} "> {{ page_obj.start_index|add:forloop.counter0 }}</ a >
2323 </ td >
2424 < td >
25- < a href ="{{ url }} " target ="_blank ">
25+ < a href ="{{ url }} " target ="_blank " class =" font-bold whitespace-normal " >
2626 {% if news.type == 'Reddit' %}
2727 < i class ="fa-brands fa-reddit text-2xl "> </ i >
2828 {% elif news.type == 'Hacker News' %}
Original file line number Diff line number Diff line change 11{% extends "core/base.html" %}
22{% load humanize user_agents wtf_tags %}
33{% block content %}
4- < div class ="flex flex-col items-center self-center w-full p-4 lg:w-10 /12 lg:p-6 ">
4+ < div class ="flex flex-col items-center self-center w-11/12 lg:w-7 /12 ">
55 < div class ="flex flex-wrap self-start mt-3 mb-10 text-sm gap-2 lg:text-lg ">
66 < div class ="badge badge-lg badge-primary "> Trending repositories</ div >
77 {% if request|is_mobile or request|is_tablet %}
2323 {% endfor %}
2424 </ ul >
2525 </ details >
26- < table class ="table w-full mb-5 leading-6 ">
26+ < table class ="table mb-5 leading-6 ">
2727 < thead >
2828 < tr >
2929 < th class ="hidden xl:block "> Rank</ th >
4141 < tr class ="hover ">
4242 {% with url=repo.github_url %}
4343 < td class ="hidden xl:table-cell ">
44- < a class ="font-bold " href ="{{ url }} " target ="_blank "> {{ page_obj.start_index|add:forloop.counter0 }}</ a >
44+ < a class ="font-bold whitespace-normal " href ="{{ url }} " target ="_blank "> {{ page_obj.start_index|add:forloop.counter0 }}</ a >
4545 </ td >
4646 < td >
4747 < a href ="{{ url }} " target ="_blank ">
5353 </ a >
5454 </ td >
5555 < td class ="hidden xl:table-cell ">
56- < a href ="{{ url }} " target ="_blank "> {{ repo.truncated_description|truncatechars:50 }}</ a >
56+ < a href ="{{ url }} " target ="_blank " class =" whitespace-normal " > {{ repo.truncated_description|truncatechars:50 }}</ a >
5757 </ td >
5858 < td class ="text-right ">
5959 < a href ="{{ url }} " target ="_blank ">
You can’t perform that action at this time.
0 commit comments