This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { RowDataType } from "cdm/FolderModel";
33import { StyleVariables } from "helpers/Constants" ;
44import { c } from "helpers/StylesHelper" ;
55import { Literal } from "obsidian-dataview" ;
6- import React from "react" ;
6+ import React , { CSSProperties } from "react" ;
77import { MdFileComponent } from "components/obsidianArq/embedMdInteractive" ;
88import { TableRowProps } from "cdm/RowTypeModel" ;
99
@@ -38,9 +38,11 @@ export default function TableRow(tableRowProps: TableRowProps) {
3838 className = { `${ c (
3939 "td" + ( cellIndex === 0 ? " row-context-menu" : "" )
4040 ) } data-input`}
41- style = { {
42- fontSize : `${ fontSize } px` ,
43- } }
41+ style = {
42+ {
43+ "--dbfolder-font-size" : `${ fontSize } px` ,
44+ } as CSSProperties
45+ }
4446 >
4547 { flexRender ( cell . column . columnDef . cell , cell . getContext ( ) ) }
4648 </ div >
Original file line number Diff line number Diff line change 33******************/
44.database-plugin__container {
55 --dbfolder-line-height : 1rem ;
6+ --dbfolder-font-size : 16px ;
67}
78/*****************
89* Base
@@ -126,11 +127,14 @@ div.database-plugin__td.data-input:hover {
126127 text-align : -webkit-center;
127128 vertical-align : middle;
128129 line-height : var (--dbfolder-line-height );
130+ font-size : var (--dbfolder-font-size );
129131}
130132
131133.database-plugin__td .data-input p {
132134 margin : 0 ;
135+ font-size : var (--dbfolder-font-size );
133136}
137+
134138/** children of data-input fills parent div*/
135139.data-input > * {
136140 border : none;
You can’t perform that action at this time.
0 commit comments