Skip to content

Commit

Permalink
Merge pull request #4010 from traPtitech/feat/show_textArea_border_in…
Browse files Browse the repository at this point in the history
…_mobile

メッセージ入力欄のフォーカス時にborderが付く要素を変更
  • Loading branch information
nokhnaton authored Oct 21, 2023
2 parents 9beaad8 + c06e9ce commit ddff48a
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);
border: solid 2px transparent;
&:focus-within {
border-color: $theme-accent-focus-default;
}
&:has(.toNewMessageButton:focus) {
border-color: transparent;
}
}
}
.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 ddff48a

Please sign in to comment.