mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
little fixes and for Android ui hotfix
This commit is contained in:
1 parent
ff64c035e6
commit
8c9ad287eb
4 files changed
+38
-11
No files matched your search
@@ -32,3 +32,9 @@ span {
|
||||
background-color: #0f0f0f69;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (width < 1000px) {
|
||||
body {
|
||||
padding-top: 2em;
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ function LoadingDialog() {
|
||||
if (payload.new_dicts.length > 0) {
|
||||
messages = [
|
||||
...messages,
|
||||
{ message: `Loading:` },
|
||||
{ message: "Importing Yomitan zip in resources/ folder:" },
|
||||
...payload.new_dicts.map((d) => ({ message: `- ${d}` })),
|
||||
];
|
||||
}
|
||||
@@ -48,7 +48,7 @@ function LoadingDialog() {
|
||||
if (payload.to_be_removed_dicts.length > 0) {
|
||||
messages = [
|
||||
...messages,
|
||||
{ message: `Removing:` },
|
||||
{ message: "Removing Yomitan zip:" },
|
||||
...payload.to_be_removed_dicts.map((d) => ({ message: `- ${d}` })),
|
||||
];
|
||||
}
|
||||
@@ -90,7 +90,7 @@ function LoadingDialog() {
|
||||
? messages.map((m, i) => (
|
||||
<p key={i}>
|
||||
{m.total
|
||||
? `${m.message} (${m.current} / ${m.total})`
|
||||
? `${m.message} (${m.current}/${m.total})`
|
||||
: m.message}
|
||||
</p>
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user