Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dotgreg
tiro-notes
Commits
fab18756
Commit
fab18756
authored
May 17, 2022
by
greg@1m
Browse files
fixing resizing pb
parent
032a0fe2
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/components/ContentBlock.component.tsx
View file @
fab18756
...
...
@@ -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
);
...
...
custom-tags/custom-tag-rss.js
View file @
fab18756
...
...
@@ -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
'
)
...
...
platforms/npm-cli-module/package.json
View file @
fab18756
{
"name"
:
"tiro-notes"
,
"version"
:
"0.30.2
4
-dev"
,
"version"
:
"0.30.2
5
-dev"
,
"description"
:
"Tiro Notes CLI to start Tiro Notes from the command line!"
,
"scripts"
:
{
"dev"
:
"ISDEV=true node cli.js"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment