Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Stylish Reader",
"description": "Help you learn English better and easier.",
"developer": { "name": "Toly Feng", "url": "https://stylishreader.com" },
"version": "0.0.22",
"version": "0.0.23",
"icons": {
"48": "icons/stylish-reader-48.png"
},
Expand Down
8 changes: 4 additions & 4 deletions src/webPage/translationPanel/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ const mountPoint =
document.getElementById("stylish-reader-translation-panel");

mountPoint!.innerHTML = `
<div class="container mx-auto bg-white px-1 py-1 text-[16px]">
<div class="flex columns-2 flex-row">
<div class="text-black container mx-auto bg-white px-1 py-1 text-[16px]">
<div class="flex columns-2 flex-row text-black">
<div class="basis-4/5 flex-col text-[18px]" id="current-word"></div>
<div class="flex grow cursor-pointer select-none flex-row justify-around" id="mark-word">

<span id="like-icon">❤️</span>
<span id="unlike-icon">🤍</span>
</div>
</div>
<div class="my-2 flex cursor-pointer flex-row space-x-2">
<div class="my-2 flex cursor-pointer flex-row space-x-2 text-black">
<div>
<span id="phonetic">&nbsp;</span>
</div>
Expand All @@ -33,7 +33,7 @@ mountPoint!.innerHTML = `
<span class="cursor-pointer underline text-cyan-500" id="reviewWord">🔗单词复习</span>
</div>
<div id="translation-container">
<div class="flex flex-row flex-nowrap" v-for="item in dic" :key="item.pos">
<div class="flex flex-row flex-nowrap text-black" v-for="item in dic" :key="item.pos">
<div>{{ item.pos }}</div>
<div>{{ item.zh }}</div>
</div>
Expand Down