mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-05-31 21:54:08 +00:00
Fixed tiddler styling issues
This commit is contained in:
parent
999d63c0f0
commit
ce4a14c68a
@ -114,7 +114,7 @@ exports.executeMacro = function() {
|
|||||||
}
|
}
|
||||||
// Set up the attributes for the wrapper element
|
// Set up the attributes for the wrapper element
|
||||||
var attributes = {
|
var attributes = {
|
||||||
"class": ["tw-tiddler-frame"]
|
"class": []
|
||||||
};
|
};
|
||||||
if(!this.wiki.tiddlerExists(renderTitle)) {
|
if(!this.wiki.tiddlerExists(renderTitle)) {
|
||||||
attributes["class"].push("tw-tiddler-missing");
|
attributes["class"].push("tw-tiddler-missing");
|
||||||
|
@ -5837,7 +5837,7 @@ Tiddler styles
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 767px) {
|
@media (min-width: 767px) {
|
||||||
.tw-story-element {
|
.tw-tiddler-frame {
|
||||||
padding: 30px 30px 30px 30px;
|
padding: 30px 30px 30px 30px;
|
||||||
margin: 30px 5px 30px 5px;
|
margin: 30px 5px 30px 5px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@ -5854,7 +5854,7 @@ Tiddler styles
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tw-story-element .body {
|
.tw-tiddler-frame .body {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
title: $:/templates/ViewTemplate
|
title: $:/templates/ViewTemplate
|
||||||
modifier: JeremyRuston
|
modifier: JeremyRuston
|
||||||
|
|
||||||
<div class="title">
|
<div class="tw-tiddler-frame">
|
||||||
|
<div class="title">
|
||||||
<span><<view title>></span> <span> <<reveal state:[[$:/EditMode]] type:match text:yes>< <<button EditTiddler class:"btn-invisible"><[img[$:/core/images/edit-button.svg]]>> >> </span>
|
<span><<view title>></span> <span> <<reveal state:[[$:/EditMode]] type:match text:yes>< <<button EditTiddler class:"btn-invisible"><[img[$:/core/images/edit-button.svg]]>> >> </span>
|
||||||
<<button close class:"btn-invisible pull-right"><[img[$:/core/images/close-button.svg]]>>
|
<<button close class:"btn-invisible pull-right"><[img[$:/core/images/close-button.svg]]>>
|
||||||
</div>
|
</div>
|
||||||
@ -14,3 +15,4 @@ modifier: JeremyRuston
|
|||||||
<div class="body">
|
<div class="body">
|
||||||
<<view text wikified>>
|
<<view text wikified>>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
@ -61,7 +61,7 @@ Tiddler styles
|
|||||||
|
|
||||||
@media (min-width: 767px) {
|
@media (min-width: 767px) {
|
||||||
|
|
||||||
.tw-story-element {
|
.tw-tiddler-frame {
|
||||||
padding: 30px 30px 30px 30px;
|
padding: 30px 30px 30px 30px;
|
||||||
margin: 30px 5px 30px 5px;
|
margin: 30px 5px 30px 5px;
|
||||||
.box-shadow(1px 1px 6px rgba(0,0,0,0.4));
|
.box-shadow(1px 1px 6px rgba(0,0,0,0.4));
|
||||||
@ -80,7 +80,7 @@ body {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tw-story-element .body {
|
.tw-tiddler-frame .body {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user