mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-25 14:00:45 -08:00
Include tiddler borders in preview
Several of the core palettes have distinctive borders
This commit is contained in:
parent
a6a91d49b7
commit
a366d62358
2 changed files with 11 additions and 4 deletions
|
|
@ -3,6 +3,8 @@ tags: $:/tags/Preview/Story
|
|||
|
||||
\parameters (title)
|
||||
\whitespace trim
|
||||
<$colour.div class="tc-palette-preview-thumbnail-tiddler" styleName="background-color" styleColour="tiddler-background">
|
||||
<<palette-preview-component-list "$:/tags/Preview/Tiddler">>
|
||||
</$colour.div>
|
||||
<$colour.div class="tc-palette-preview-thumbnail-tiddler-border" styleName="border-color" styleColour="tiddler-border">
|
||||
<$colour.div class="tc-palette-preview-thumbnail-tiddler" styleName="background-color" styleColour="tiddler-background">
|
||||
<<palette-preview-component-list "$:/tags/Preview/Tiddler">>
|
||||
</$colour.div>
|
||||
</$colour.div>
|
||||
|
|
|
|||
|
|
@ -2979,8 +2979,13 @@ input.tc-palette-manager-colour-input {
|
|||
flex-grow: 2;
|
||||
}
|
||||
|
||||
.tc-palette-preview-thumbnail-tiddler {
|
||||
.tc-palette-preview-thumbnail-tiddler-border {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.tc-palette-preview-thumbnail-tiddler {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue