From 83894546797870bef702a66db4108bb1cef7fe85 Mon Sep 17 00:00:00 2001 From: piglei Date: Sat, 4 Nov 2023 10:44:34 +0800 Subject: [PATCH] Enhance style and bump to 0.6.1 --- pyproject.toml | 12 ++++-------- voc_builder/__init__.py | 2 +- voc_frontend/src/views/ManageView.vue | 11 ++++++----- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 21b58ee..e63060e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,15 +1,11 @@ [tool.poetry] name = "ai-vocabulary-builder" -version = "0.6.0" +version = "0.6.1" description = "A tool help you build your vocabulary book using AI." readme = "README.md" authors = ["piglei "] -packages = [ - { include = "voc_builder", from="." }, -] -include = [ - { path = "voc_builder/notepad/dist/**/*"}, -] +packages = [{ include = "voc_builder", from = "." }] +include = [{ path = "voc_builder/notepad/dist/**/*" }] [tool.poetry.dependencies] @@ -23,7 +19,7 @@ prompt-toolkit = "^3.0.38" packaging = "^23.0" pendulum = "^2.1.2" fastapi = "^0.95.1" -uvicorn = {extras = ["standard"], version = "^0.22.0"} +uvicorn = { extras = ["standard"], version = "^0.22.0" } sse-starlette = "^1.3.4" [tool.poetry.scripts] diff --git a/voc_builder/__init__.py b/voc_builder/__init__.py index ef7eb44..8411e55 100644 --- a/voc_builder/__init__.py +++ b/voc_builder/__init__.py @@ -1 +1 @@ -__version__ = '0.6.0' +__version__ = '0.6.1' diff --git a/voc_frontend/src/views/ManageView.vue b/voc_frontend/src/views/ManageView.vue index d826b84..508665e 100644 --- a/voc_frontend/src/views/ManageView.vue +++ b/voc_frontend/src/views/ManageView.vue @@ -72,7 +72,6 @@ async function removeWord(word) { - @@ -82,7 +81,6 @@ async function removeWord(word) { - @@ -92,9 +90,9 @@ async function removeWord(word) { -
WordPronunciation Definition Example sentence / Translation Date Added
- {{ word.ws.word }} +
{{ word.ws.word }}
+
{{ word.ws.pronunciation }}
{{ word.ws.pronunciation }} {{ word.ws.word_meaning }} {{ word.ws.orig_text }} / @@ -120,7 +118,10 @@ async function removeWord(word) { font-size: 13px; } .words-list .word { - font-size: 14px; + font-size: 15px; font-weight: 500; } +.words-list .proun { + font-size: 13px; +}