.tc-tiddler-frame { padding-top: 5px; padding-right: 5px; padding-bottom: 1px; padding-left: 10px; border:2px solid darkgreen; }
.tc-tiddler-frame {
padding: 5px 5px 1px 10px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 1px;
padding-left: 10px;
border:2px solid darkgreen;
}
\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end
\define folded-state()
$:/state/folded/$(currentTiddler)$
\end
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$set name="customstylevar" value={{!!customstylefield}}><$tiddler tiddler=<<currentTiddler>>><div data-style=<<customstylevar>> class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div>
</$tiddler></$set></$set></$set>
$:/core/ui/ViewTemplate
[data-style="customframe"] {
{ padding-top: 5px; padding-right: 5px; padding-bottom: 1px; padding-left: 10px; border:2px solid darkgreen; }
}
[data-style="customframe"] {
padding: 5px 5px 1px 10px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 1px;
padding-left: 10px;
border:2px solid darkgreen;
}
\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end
\define folded-state()
$:/state/folded/$(currentTiddler)$
\end
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$set name="customstylevar" value={{!!customstylefield}}><$tiddler tiddler=<<currentTiddler>>><div data-style=<<customstylevar>> class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div>
</$tiddler></$set></$set></$set>
$:/core/ui/ViewTemplate
padding-left: 10px up to
padding-left: 150px
-no change...
Hi Mark,
$:/core/ui/ViewTemplate
Hi Mark,
The other But... is:
On my tablet it doesn't show the change. It is synchronised, everything is the same. I think, it is because of the different screen size?
Maybe it is better to edit not the frame, but the look of the tiddler-body (the left side of the body)?
[data-style="customframe"] {
{ padding-top: 5px; padding-right: 5px; padding-bottom: 1px; padding-left: 10px; border:2px solid darkgreen; }
}
[data-style="customframe"] {
padding-top: 5px; padding-right: 5px; padding-bottom: 1px; padding-left: 10px; border:2px solid darkgreen;
}
Oh yeah, delete that -- cut/paste error.
On Wednesday, January 17, 2018 at 2:36:52 PM UTC-8, Surya wrote:Hi Mark,
>>>I deleted, and it doesn't show anymore :-)
$:/core/ui/ViewTemplate
Looking at the code I posted too fast, I see that the first set :
[data-style="customframe"] {{ padding-top: 5px; padding-right: 5px; padding-bottom: 1px; padding-left: 10px; border:2px solid darkgreen; }
}Should probably be:
[data-style="customframe"] {padding-top: 5px; padding-right: 5px; padding-bottom: 1px; padding-left: 10px; border:2px solid darkgreen;
}
When you use your tablet you pass sidebar breakpoint and the view is changed (Tiddler-frame smaller).
I think you are right you will have to change .tc-tiddler-body
I think you must use tags to make the difference (you have used that before, I know)