aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_list_item
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-09 13:02:16 -0500
committertusooa <tusooa@kazv.moe>2023-01-09 13:02:16 -0500
commit7dc22774532872fc99aa7768cf299ab623e9d155 (patch)
tree8f8f3607f281968e28e38664ae3523697014c310 /src/components/chat_list_item
parent38961bc167f3fedcd6c3eb61f92d9134f9b5cbdf (diff)
Use stylelint
Diffstat (limited to 'src/components/chat_list_item')
-rw-r--r--src/components/chat_list_item/chat_list_item.scss9
-rw-r--r--src/components/chat_list_item/chat_list_item.vue4
2 files changed, 6 insertions, 7 deletions
diff --git a/src/components/chat_list_item/chat_list_item.scss b/src/components/chat_list_item/chat_list_item.scss
index c6b45c34..3a84672b 100644
--- a/src/components/chat_list_item/chat_list_item.scss
+++ b/src/components/chat_list_item/chat_list_item.scss
@@ -13,7 +13,7 @@
&:hover {
background-color: var(--selectedPost, $fallback--lightBg);
- box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0 3px 1px rgb(0 0 0 / 10%);
}
.chat-list-item-left {
@@ -67,6 +67,7 @@
canvas {
display: none;
}
+
img {
visibility: visible;
}
@@ -79,13 +80,11 @@
.chat-preview-body {
--emoji-size: 1.4em;
+
+ padding-right: 1em;
}
.time-wrapper {
line-height: var(--post-line-height);
}
-
- .chat-preview-body {
- padding-right: 1em;
- }
}
diff --git a/src/components/chat_list_item/chat_list_item.vue b/src/components/chat_list_item/chat_list_item.vue
index c7c0e878..69ad609b 100644
--- a/src/components/chat_list_item/chat_list_item.vue
+++ b/src/components/chat_list_item/chat_list_item.vue
@@ -48,6 +48,6 @@
<script src="./chat_list_item.js"></script>
<style lang="scss">
-@import '../../_variables.scss';
-@import './chat_list_item.scss';
+@import "../../variables";
+@import "./chat_list_item";
</style>