aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-08-20 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-08-20 08:00:00 +0800
commit4b681153d42c911b2bfa14e3e8587e4ac8063e7c (patch)
treebe4bbdebedb0829184e8ef5671203de1c2c4ea40
parentMore ps.py stuff (diff)
downloadtooch-master.tar.gz
tooch-master.zip
min width attemptHEADmaster
-rw-r--r--_/ps.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/_/ps.py b/_/ps.py
index 284c82f..827be35 100644
--- a/_/ps.py
+++ b/_/ps.py
@@ -37,9 +37,11 @@ while True:
+ "Content-Transfer-Encoding: base64\r\n"
+ "\r\n"
+ base64.standard_b64encode(
- ("<style>%s</style>" % open("screen.css").read() + t).encode(
- "utf-8"
- )
+ (
+ "<style>body{min-width:60rem;}%s</style>"
+ % open("screen.css").read()
+ + t
+ ).encode("utf-8")
).decode("utf-8", "error")
)
p.close()