Skip to content

Commit 35a4ab5

Browse files
committed
Use regular font for package activity content
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 3325bcb commit 35a4ab5

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

fedcode/templates/home.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% block content %}
1414
<div class="columns">
1515
<div class="column"></div>
16-
<div class="column is-two-thirds">
16+
<div class="column is-full pr-6 mr-6">
1717
<div class="content is-normal">
1818
<h1>My Packages</h1>
1919
<hr />
@@ -26,13 +26,13 @@ <h1>My Packages</h1>
2626
{% else %}
2727
<div>
2828
{% for note in page_note %}
29-
<article class="media box">
29+
<article class="media box px-2 mx-2">
3030
<figure>
3131
<p class="image is-64x64">
3232
<img src="{{ note.acct | get_pkg_image }}" alt="purl-image">
3333
</p>
3434
</figure>
35-
<form class="ml-5 mr-4" name="vote-notes">
35+
<form class="mx-1" name="vote-notes">
3636
<span class="icon ml-1">
3737
<!-- Vote Up Button -->
3838
<button name="vote-up" class="button is-rounded is-white" value="{{ note.id }}" type="submit"></button>
@@ -45,21 +45,21 @@ <h1>My Packages</h1>
4545
</form>
4646

4747
<div class="media-content">
48-
<div class="content">
48+
<div class="content ml-3">
4949
<a href="{% url 'purl-profile' note.username %}">{{ note.acct }}</a>
5050
<hr />
5151
<pre class="has-text-black">{{ note.content }}</pre>
5252
<hr />
5353
<button class="button" onclick="window.open('{% url 'note-page' note.id %}');">Comment 💬</button>
5454
</div>
5555
</div>
56-
<div class="media-right">
57-
<small>Last update: {{ note.updated_at }}</small>
56+
<div class="media-right mr-4">
57+
<small>{{ note.updated_at }}</small>
5858
</div>
5959
</article>
6060
{% endfor %}
6161

62-
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
62+
<nav class="pagination is-centered px-6" role="navigation" aria-label="pagination">
6363
{% if page_note.has_previous %}
6464
<a class="pagination-previous" href="?page={{ page_note.previous_page_number }}">Previous</a>
6565
{% endif %}
@@ -80,4 +80,4 @@ <h1>My Packages</h1>
8080
</div>
8181
<div class="column"></div>
8282
</div>
83-
{% endblock %}
83+
{% endblock %}

federatedcode/static/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ code {
100100
background-color: #ffffff;
101101
border: 0;
102102
padding: 0;
103-
font-family: Consolas;
103+
/* font-family: Consolas; */
104104
}
105105

106106
/* start tabset */
@@ -204,7 +204,7 @@ code {
204204
}
205205

206206
pre {
207-
font-family: Consolas !important;
207+
/* font-family: Consolas !important; */
208208
font-size: 13px;
209209
color: #cc0000;
210210
background-color: #f8f8f8;

0 commit comments

Comments
 (0)