+
@@ -73,7 +73,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
{{ i18n.ts.continueThread }}
@@ -125,8 +125,11 @@ const props = withDefaults(defineProps<{
// how many notes are in between this one and the note being viewed in detail
depth?: number;
+
+ reply?: boolean;
}>(), {
depth: 1,
+ reply: false,
});
const el = shallowRef();
@@ -439,7 +442,11 @@ if (props.detail) {
--reply-indent: calc(.5 * var(--avatar));
&.children {
- padding: 10px 0 0 16px;
+ padding: 10px 0 0 8px;
+ }
+
+ &.replyRoot {
+ --avatar: 36px;
}
}
@@ -478,7 +485,7 @@ if (props.detail) {
transition: opacity .2s, background .2s;
z-index: -1;
}
-
+
&:hover::after,
&:focus-within::after {
opacity: 1;
@@ -610,10 +617,6 @@ if (props.detail) {
@container (max-width: 480px) {
.root {
padding: 22px 24px;
-
- &.children {
- padding: 10px 0 0 8px;
- }
}
.line {
@@ -683,35 +686,4 @@ if (props.detail) {
border-bottom: unset;
}
}
-
-@container (max-width: 580px) {
- .threadLine, .reply {
- margin-left: 25px;
- }
- .reply::before {
- height: 45px;
- }
- .single::before {
- left: 25px;
- }
- .single {
- margin-left: 0;
- }
-}
-
-@container (max-width: 450px) {
- .threadLine, .reply {
- margin-left: 23px;
- }
- .reply::before {
- height: 43px;
- }
- .single::before {
- left: 23px;
- width: 9px;
- }
- .single {
- margin-left: 0;
- }
-}