diff options
author | bobzel <zzzman@gmail.com> | 2021-04-19 12:27:33 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-04-19 12:27:33 -0400 |
commit | 8824730d44f52ad41c2687205109a271f8c63e80 (patch) | |
tree | 749c788afbe7b52fb3fe028e997c16859112d94e /src/client/views/StyleProvider.tsx | |
parent | e26e07f6956c1a4cb7593f66fc88f219b7349e05 (diff) |
started to cleanup comic mode.
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r-- | src/client/views/StyleProvider.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index bde741959..0702f0d6b 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -101,7 +101,6 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<DocumentViewProps case StyleProp.HeaderMargin: return ([CollectionViewType.Stacking, CollectionViewType.Masonry].includes(doc?._viewType as any) || doc?.type === DocumentType.RTF) && showTitle() && !StrCast(doc?.showTitle).includes(":hover") ? 15 : 0; case StyleProp.BackgroundColor: { - if (Doc.UserDoc().renderStyle === "comic") return "transparent"; let docColor: Opt<string> = StrCast(doc?.[fieldKey + "backgroundColor"], StrCast(doc?._backgroundColor, isCaption ? "rbga(0,0,0,0.4)" : "")); if (MainView.Instance.LastButton === doc) return darkScheme() ? "dimgrey" : "lightgrey"; switch (doc?.type) { |