Skip to content

Commit

Permalink
メッセージ入力にフォーカスしたときにborderが付く位置を変更
Browse files Browse the repository at this point in the history
  • Loading branch information
nokhnaton committed Sep 8, 2023
1 parent b3417ec commit c06e9ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/components/Main/MainView/MessageInput/MessageInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,6 @@ $radius: 4px;
}
border-radius: $radius;
transform: translateY(-$radius);
&:has(.toNewMessageButton:focus) {
border-color: transparent;
}
}
border: solid 2px transparent;
&:focus-within {
border-color: $theme-accent-focus-default;
}
}
.preview {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ $vertical-padding: 8px;
width: 100%;
border-radius: 8px;
overflow: hidden;
border: solid 2px transparent;
&:focus-within {
border-color: $theme-accent-focus-default;
}
}
.textarea {
@include color-text-primary;
Expand Down

0 comments on commit c06e9ce

Please sign in to comment.