aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-08-12 12:03:45 +0100
committerGravatar Vivaan Verma <[email protected]>2021-08-12 12:03:45 +0100
commit577dd0810ca5a7f0b270aa3a82042302a5ab38f8 (patch)
treed78357ef99348d51ddf7ff62e1b055f5e39b6c6d /pydis_site
parentfix: Pin `psycopg2-binary` to v2.8.* (diff)
feat: Center `Search` and `Clear Search` buttons
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/resources/utils.py2
-rw-r--r--pydis_site/static/css/resources/resources_list.css1
-rw-r--r--pydis_site/templates/resources/resources.html4
3 files changed, 3 insertions, 4 deletions
diff --git a/pydis_site/apps/resources/utils.py b/pydis_site/apps/resources/utils.py
index bc444df4..623dd7b6 100644
--- a/pydis_site/apps/resources/utils.py
+++ b/pydis_site/apps/resources/utils.py
@@ -21,7 +21,7 @@ RESOURCES: dict[str, Resource] = {path.stem: yaml.safe_load(path.read_text()) fo
RESOURCE_TABLE = {category: defaultdict(set) for category in (
"topics",
- "payment_tiers",
+ "payment_tiers",
"complexity",
"type"
)}
diff --git a/pydis_site/static/css/resources/resources_list.css b/pydis_site/static/css/resources/resources_list.css
index 283a506b..351030f8 100644
--- a/pydis_site/static/css/resources/resources_list.css
+++ b/pydis_site/static/css/resources/resources_list.css
@@ -61,4 +61,3 @@ i.has-icon-padding {
#tab-content p.is-active {
display: block;
}
- \ No newline at end of file
diff --git a/pydis_site/templates/resources/resources.html b/pydis_site/templates/resources/resources.html
index edb968d7..ef4aac8b 100644
--- a/pydis_site/templates/resources/resources.html
+++ b/pydis_site/templates/resources/resources.html
@@ -75,8 +75,8 @@
</div>
</div>
- <div class="ml-3 pb-3">
- <span class="control">
+ <div class="is-flex is-justify-content-center pb-3">
+ <span class="control mr-2">
<button onclick="buildQueryParams()" class="button is-link is-small">Search</button>
</span>