Skip to content

Commit

Permalink
fixed wrong style
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki committed May 30, 2022
1 parent a2f6f53 commit 88b6ed3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docsify-chat",
"version": "0.1.2",
"version": "0.1.3",
"description": "A docsify plugin for generate chat panel from markdown",
"main": "lib/docsify-chat.js",
"scripts": {
Expand Down
10 changes: 9 additions & 1 deletion src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,16 @@
transition: transform 0.4s ease-out, opacity 0.4s ease-in;

&.myself {
text-align: right;
transform: translate(10%);

.message-box {
margin-left: 0;
margin-right: 0.5rem;
}

.nickname {
text-align: right;
}
}

&.show {
Expand Down

0 comments on commit 88b6ed3

Please sign in to comment.