Compare commits

...

2 commits

Author SHA1 Message Date
Izalia Mae de190fcdd3 update dev dependencies and barkshark-lib 2024-08-22 23:40:39 -04:00
Izalia Mae baae0b46ac minor styling fixes
* don't allow line wrapping in tables
* replace legend for follow required message with div
* set correct font family
2024-08-22 23:25:43 -04:00
4 changed files with 12 additions and 10 deletions

View file

@ -18,7 +18,7 @@ dependencies = [
"aiohttp >= 3.9.5", "aiohttp >= 3.9.5",
"aiohttp-swagger[performance] == 1.0.16", "aiohttp-swagger[performance] == 1.0.16",
"argon2-cffi == 23.1.0", "argon2-cffi == 23.1.0",
"barkshark-lib >= 0.1.5rc1, < 0.2.0", "barkshark-lib >= 0.1.6, < 0.2.0",
"barkshark-sql >= 0.2.0rc2, < 0.3.0", "barkshark-sql >= 0.2.0rc2, < 0.3.0",
"click == 8.1.2", "click == 8.1.2",
"hiredis == 2.3.2", "hiredis == 2.3.2",
@ -47,9 +47,9 @@ activityrelay = "relay.manage:main"
[project.optional-dependencies] [project.optional-dependencies]
dev = [ dev = [
"flake8 == 7.1.0", "flake8 == 7.1.0",
"mypy == 1.10.1", "mypy == 1.11.1",
"pyinstaller == 6.8.0", "pyinstaller == 6.10.0",
"watchdog == 4.0.1" "watchdog == 4.0.2"
] ]
[tool.setuptools] [tool.setuptools]

View file

@ -15,9 +15,7 @@
%a(href="https://{{domain}}/actor") << https://{{domain}}/actor</a> %a(href="https://{{domain}}/actor") << https://{{domain}}/actor</a>
-if config.approval_required -if config.approval_required
%fieldset.section.message %div.section.message
%legend << Require Approval
Follow requests require approval. You will need to wait for an admin to accept or deny Follow requests require approval. You will need to wait for an admin to accept or deny
your request. your request.

View file

@ -12,7 +12,7 @@ body {
color: var(--text); color: var(--text);
background-color: #222; background-color: #222;
margin: var(--spacing); margin: var(--spacing);
font-family: sans serif; font-family: sans-serif;
} }
details *:nth-child(2) { details *:nth-child(2) {
@ -88,6 +88,7 @@ tbody tr:last-child td:last-child {
table td { table td {
padding: 5px; padding: 5px;
white-space: nowrap;
} }
table thead td { table thead td {
@ -282,8 +283,11 @@ textarea {
width: 100%; width: 100%;
} }
.data-table .date { .data-table td:not(:first-child) {
width: max-content; width: max-content;
}
.data-table .date {
text-align: right; text-align: right;
} }

View file

@ -146,7 +146,7 @@ class HttpClient:
@overload @overload
async def get(self, # type: ignore[overload-overlap] async def get(self,
url: str, url: str,
sign_headers: bool, sign_headers: bool,
cls: None = None, cls: None = None,