You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Desktop: Accessibility: Add setting to increase scrollbar and other small control sizes (#11627)
This commit is contained in:
@@ -4,7 +4,7 @@ import { fileExtension } from '@joplin/utils/path';
|
||||
import setupLinkify from './MdToHtml/setupLinkify';
|
||||
import validateLinks from './MdToHtml/validateLinks';
|
||||
import { Options as NoteStyleOptions } from './noteStyle';
|
||||
import { FsDriver, ItemIdToUrlHandler, MarkupRenderer, OptionsResourceModel, RenderOptions, RenderResult, RenderResultPluginAsset } from './types';
|
||||
import { FsDriver, ItemIdToUrlHandler, MarkupRenderer, OptionsResourceModel, RenderOptions, RenderResult, RenderResultPluginAsset, ResourceInfos } from './types';
|
||||
import hljs from './highlight';
|
||||
import * as MarkdownIt from 'markdown-it';
|
||||
|
||||
@@ -161,8 +161,7 @@ export interface RuleOptions {
|
||||
postMessageSyntax: string;
|
||||
ResourceModel: OptionsResourceModel;
|
||||
resourceBaseUrl: string;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
resources: any; // resourceId: Resource
|
||||
resources: ResourceInfos; // resourceId: Resource
|
||||
|
||||
// Used by checkboxes to specify how it should be rendered
|
||||
checkboxRenderingType?: number;
|
||||
@@ -643,6 +642,7 @@ export default class MdToHtml implements MarkupRenderer {
|
||||
const renderedBody = markdownIt.render(body, context);
|
||||
|
||||
let cssStrings = noteStyle(options.theme, {
|
||||
scrollbarSize: options.scrollbarSize,
|
||||
contentMaxWidth: options.contentMaxWidth,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user