Align block theme with new mentions

Change-Id: I637e465c878446f3b4c48ea6f4a5945e8d93b88d
This commit is contained in:
SpiritCroc 2022-11-20 10:45:51 +01:00
parent 011f9b0853
commit d636bb3432
2 changed files with 5 additions and 1 deletions

View File

@ -173,6 +173,8 @@ class EventHtmlRenderer @Inject constructor(
builder.codeBlockBackgroundColor(codeBlockBackground) builder.codeBlockBackgroundColor(codeBlockBackground)
.codeBackgroundColor(codeBlockBackground) .codeBackgroundColor(codeBlockBackground)
.blockQuoteColor(quoteBarColor) .blockQuoteColor(quoteBarColor)
.blockQuoteWidth(dimensionConverter.dpToPx(2))
.blockMargin(dimensionConverter.dpToPx(8))
} }
}, },
object: AbstractMarkwonPlugin() { // Remove fallback mx-replies object: AbstractMarkwonPlugin() { // Remove fallback mx-replies

View File

@ -12,7 +12,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:layout_marginStart="8dp" android:paddingStart="8dp"
android:paddingEnd="0dp"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">
@ -54,6 +55,7 @@
android:layout_width="2dp" android:layout_width="2dp"
android:layout_height="0dp" android:layout_height="0dp"
android:background="?vctr_content_secondary" android:background="?vctr_content_secondary"
android:layout_marginHorizontal="1dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@id/inReplyToHolder" app:layout_constraintBottom_toBottomOf="@id/inReplyToHolder"
app:layout_constraintTop_toTopOf="@id/inReplyToHolder" /> app:layout_constraintTop_toTopOf="@id/inReplyToHolder" />