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 22
22
< a class ="font-bold " href ="{{ url }} "> {{ page_obj.start_index|add:forloop.counter0 }}</ a >
23
23
</ td >
24
24
< td >
25
- < a href ="{{ url }} " target ="_blank ">
25
+ < a href ="{{ url }} " target ="_blank " class =" font-bold whitespace-normal " >
26
26
{% if news.type == 'Reddit' %}
27
27
< i class ="fa-brands fa-reddit text-2xl "> </ i >
28
28
{% elif news.type == 'Hacker News' %}
Original file line number Diff line number Diff line change 1
1
{% extends "core/base.html" %}
2
2
{% load humanize user_agents wtf_tags %}
3
3
{% 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 ">
5
5
< div class ="flex flex-wrap self-start mt-3 mb-10 text-sm gap-2 lg:text-lg ">
6
6
< div class ="badge badge-lg badge-primary "> Trending repositories</ div >
7
7
{% if request|is_mobile or request|is_tablet %}
23
23
{% endfor %}
24
24
</ ul >
25
25
</ details >
26
- < table class ="table w-full mb-5 leading-6 ">
26
+ < table class ="table mb-5 leading-6 ">
27
27
< thead >
28
28
< tr >
29
29
< th class ="hidden xl:block "> Rank</ th >
41
41
< tr class ="hover ">
42
42
{% with url=repo.github_url %}
43
43
< 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 >
45
45
</ td >
46
46
< td >
47
47
< a href ="{{ url }} " target ="_blank ">
53
53
</ a >
54
54
</ td >
55
55
< 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 >
57
57
</ td >
58
58
< td class ="text-right ">
59
59
< a href ="{{ url }} " target ="_blank ">
You can’t perform that action at this time.
0 commit comments