aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.vue
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-15 17:02:24 +0000
committertusooa <tusooa@kazv.moe>2023-01-15 17:02:24 +0000
commitdc897a5fef9ed10e23bee9b36ee719c31996f7a5 (patch)
tree1dad722edc84b5ba1759a13e1944167c5ffcf7c3 /src/components/conversation/conversation.vue
parent4d2056d8aaa8f2c20a3275503857d38ac9112e5f (diff)
parentd2ba67d565ba68acc1938dc9ae2c866a6e39d4d6 (diff)
Merge branch 'tusooa/stylelint' into 'develop'
Use stylelint Closes #1173 and #857 See merge request pleroma/pleroma-fe!1752
Diffstat (limited to 'src/components/conversation/conversation.vue')
-rw-r--r--src/components/conversation/conversation.vue31
1 files changed, 13 insertions, 18 deletions
diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue
index afa04db0..7577129e 100644
--- a/src/components/conversation/conversation.vue
+++ b/src/components/conversation/conversation.vue
@@ -210,17 +210,16 @@
<script src="./conversation.js"></script>
<style lang="scss">
-@import '../../_variables.scss';
+@import "../../variables";
.Conversation {
z-index: 1;
.conversation-dive-to-top-level-box {
padding: var(--status-margin, $status-margin);
- border-bottom-width: 1px;
- border-bottom-style: solid;
- border-bottom-color: var(--border, $fallback--border);
+ border-bottom: 1px solid var(--border, $fallback--border);
border-radius: 0;
+
/* Make the button stretch along the whole row */
display: flex;
align-items: stretch;
@@ -235,52 +234,48 @@
.thread-ancestor.-faded .StatusContent {
--link: var(--faintLink);
--text: var(--faint);
+
color: var(--text);
}
.thread-ancestor-dive-box {
padding-left: var(--status-margin, $status-margin);
- border-bottom-width: 1px;
- border-bottom-style: solid;
- border-bottom-color: var(--border, $fallback--border);
+ border-bottom: 1px solid var(--border, $fallback--border);
border-radius: 0;
+
/* Make the button stretch along the whole row */
- &, &-inner {
+ &,
+ &-inner {
display: flex;
align-items: stretch;
flex-direction: column;
}
}
+
.thread-ancestor-dive-box-inner {
padding: var(--status-margin, $status-margin);
}
.conversation-status {
- border-bottom-width: 1px;
- border-bottom-style: solid;
- border-bottom-color: var(--border, $fallback--border);
+ border-bottom: 1px solid var(--border, $fallback--border);
border-radius: 0;
}
.thread-ancestor-has-other-replies .conversation-status,
+ &:last-child .conversation-status,
.thread-ancestor:last-child .conversation-status,
.thread-ancestor:last-child .thread-ancestor-dive-box,
- &:last-child .conversation-status,
&.-expanded .thread-tree .conversation-status {
border-bottom: none;
}
.thread-ancestors + .thread-tree > .conversation-status {
- border-top-width: 1px;
- border-top-style: solid;
- border-top-color: var(--border, $fallback--border);
+ border-top: 1px solid var(--border, $fallback--border);
}
/* expanded conversation in timeline */
&.status-fadein.-expanded .thread-body {
- border-left-width: 4px;
- border-left-style: solid;
- border-left-color: $fallback--cRed;
+ border-left: 4px solid $fallback--cRed;
border-left-color: var(--cRed, $fallback--cRed);
border-radius: 0 0 $fallback--panelRadius $fallback--panelRadius;
border-radius: 0 0 var(--panelRadius, $fallback--panelRadius) var(--panelRadius, $fallback--panelRadius);