Commit fab18756 authored by greg@1m's avatar greg@1m
Browse files

fixing resizing pb

parent 032a0fe2
......@@ -118,7 +118,7 @@ export const ContentBlockTagView = (p: {
let nheight = data.height
if (isString(nheight) && nheight.endsWith("%")) {
const percent = parseInt(nheight.replace("%", "")) / 100
nheight = (p.windowHeight || 200) / percent
nheight = (p.windowHeight || 200) * percent
}
console.log(h, 'resizing to', nheight, data.height, p.windowHeight);
setIframeHeight(nheight);
......
......@@ -8,8 +8,9 @@ const rssApp = (innerTagStr, opts) => {
const { div, updateContent } = api.utils.createDiv();
const divId = `rss-${api.utils.uuid()}`;
console.log(h,"========= INIT with opts:", opts)
const execRssReader = (feedsStr) => {
// console.log(h,"12: react", React)
const getFeeds = (str) => {
const feedsArr = str.split('\n')
......
{
"name": "tiro-notes",
"version": "0.30.24-dev",
"version": "0.30.25-dev",
"description": "Tiro Notes CLI to start Tiro Notes from the command line!",
"scripts": {
"dev": "ISDEV=true node cli.js",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment