Skip to content

Commit

Permalink
Update Callout style for website.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Feb 2, 2024
1 parent 1ff8088 commit dfb686d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
4 changes: 2 additions & 2 deletions feishu-docx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "feishu-docx",
"version": "0.6.3",
"version": "0.6.4",
"description": "Convert Feishu Docx into other format (Markdown, HTML ...)",
"module": "src/index.ts",
"main": "dist/index.js",
Expand Down Expand Up @@ -35,4 +35,4 @@
"ts-jest": "^29.1.1"
},
"license": "MIT"
}
}
17 changes: 16 additions & 1 deletion website/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,26 @@ ol {
}

.callout {
padding: 0.5em 1em;
padding: 1em 1em 1em 3em;
margin: 1.5em 0;
border: 2px solid #ccc;
border-radius: 5px;
font-size: 1em;
@apply relative;

&-emoji {
left: 1em;
top: 0.8em;
font-size: 1.2em;
@apply absolute;
}

p, ul, ol {
margin-top: 0;
}
& > *:last-child {
margin-bottom: 0;
}

&-bg-1,
&-bg-8 {
Expand Down
14 changes: 14 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2012,6 +2012,20 @@ fb-watchman@^2.0.0:
dependencies:
bser "2.1.1"

feishu-docx@0.6.3:
version "0.6.3"
resolved "https://registry.yarnpkg.com/feishu-docx/-/feishu-docx-0.6.3.tgz#9c9a2f0d49324a262053f02278d7dc0e2973e4bc"
integrity sha512-+zibgYVY7chFu/jHwKiv0y/BZvLk6AqIe6iRm7gYswJDB2JIbjb5tFBMXcv/vYAUpH80gNDmR2hcInq4R24mNA==
dependencies:
"@types/node" "^20.5.7"
dotenv "^16.3.1"
feishu-docx "^0.1.3"
js-yaml "^4.1.0"
jsdom "^22.1.0"
marked "^9.1.2"
marked-xhtml "^1.0.7"
typescript "^5.2.2"

feishu-docx@^0.1.3:
version "0.1.4"
resolved "https://registry.yarnpkg.com/feishu-docx/-/feishu-docx-0.1.4.tgz#53e506ec7d8acc8641522b55c9e8625d2fff0648"
Expand Down

0 comments on commit dfb686d

Please sign in to comment.