From 788f6cede7a5676a3d30cf0fd8e565cddd3c486c Mon Sep 17 00:00:00 2001 From: Palloxin <75091899+Palloxin@users.noreply.github.com> Date: Mon, 13 Jul 2026 12:41:50 +0200 Subject: [PATCH] fix: Prevent Table Overflow and Clean Up CSS (#1876) (#1876) --- android/app/src/main/assets/css/index.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/assets/css/index.css b/android/app/src/main/assets/css/index.css index 50a31c03..3f9f83ce 100644 --- a/android/app/src/main/assets/css/index.css +++ b/android/app/src/main/assets/css/index.css @@ -53,6 +53,10 @@ img { max-width: 100%; } +div:has(> table):not(#LNReader-chapter) { + overflow: auto; +} + table { background-color: var(--theme-onPrimary); border-collapse: collapse; @@ -83,8 +87,6 @@ td { margin-left: var(--readerSettings-padding); margin-right: var(--readerSettings-padding); border-radius: 50px; - border-width: 1; - color: var(--theme-onPrimary); background-color: var(--theme-primary); font-family: var(--readerSettings-fontFamily); font-size: 16px; @@ -93,6 +95,7 @@ td { } .next-button { + color: var(--theme-onPrimary); min-height: 40px; text-overflow: ellipsis; overflow: hidden;