1
Fork 0
mirror of https://github.com/glassflame/glassflame.github.io.git synced 2024-11-22 08:04:27 +00:00

Fix unnecessary spaces added to cards

This commit is contained in:
Steffo 2023-11-06 16:51:56 +01:00
parent 6494b4d3b4
commit 29e52ddf6e
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 14 additions and 26 deletions

View file

@ -102,8 +102,7 @@
<p> <p>
To solve this problem, the <a href="https://github.com/Steffo99/obsidian-file-index"><code>steffo-file-index</code></a> plugin was developed; once installed in a given Vault, and once the <code>steffo-file-index.json</code> file it generates is published, Obsiview will be able to resolve Wikilinks. To solve this problem, the <a href="https://github.com/Steffo99/obsidian-file-index"><code>steffo-file-index</code></a> plugin was developed; once installed in a given Vault, and once the <code>steffo-file-index.json</code> file it generates is published, Obsiview will be able to resolve Wikilinks.
</p> </p>
</div> </div></template>
</template>
<template id="template-vault"> <template id="template-vault">
<style> <style>
.vault { .vault {
@ -113,8 +112,7 @@
</style> </style>
<div class="vault"> <div class="vault">
<slot name="vault-child"></slot> <slot name="vault-child"></slot>
</div> </div></template>
</template>
<template id="template-canvas"> <template id="template-canvas">
<style> <style>
.canvas { .canvas {
@ -134,11 +132,9 @@
<div class="canvas"> <div class="canvas">
<slot name="canvas-nodes">{Canvas nodes}</slot> <slot name="canvas-nodes">{Canvas nodes}</slot>
<slot name="canvas-edges">{Canvas edges}</slot> <slot name="canvas-edges">{Canvas edges}</slot>
</div> </div></template>
</template>
<template id="template-display"> <template id="template-display">
<slot name="display-container">{Displayed content}</slot> <slot name="display-container">{Displayed content}</slot></template>
</template>
<template id="template-node-group"> <template id="template-node-group">
<style> <style>
.node { .node {
@ -170,8 +166,7 @@
<aside class="node-group-label"> <aside class="node-group-label">
<h1 class="node-group-label-title"><slot name="node-group-label">{Group label}</slot></h1> <h1 class="node-group-label-title"><slot name="node-group-label">{Group label}</slot></h1>
</aside> </aside>
</div> </div></template>
</template>
<template id="template-node-file"> <template id="template-node-file">
<style> <style>
.node { .node {
@ -197,8 +192,7 @@
<slot name="node-file-label">{Node title}</slot> <slot name="node-file-label">{Node title}</slot>
</h1> </h1>
<slot name="node-file-contents">{Node contents}</slot> <slot name="node-file-contents">{Node contents}</slot>
</article> </article></template>
</template>
<template id="template-node-text"> <template id="template-node-text">
<style> <style>
.node { .node {
@ -215,8 +209,7 @@
</style> </style>
<article class="canvas-item node node-text"> <article class="canvas-item node node-text">
<slot name="node-text-contents">{Node contents}</slot> <slot name="node-text-contents">{Node contents}</slot>
</article> </article></template>
</template>
<template id="template-edge"> <template id="template-edge">
<style> <style>
.edge { .edge {
@ -225,8 +218,7 @@
</style> </style>
<div class="canvas-item edge"> <div class="canvas-item edge">
<slot name="edge-svg">{Edge SVG}</slot> <slot name="edge-svg">{Edge SVG}</slot>
</div> </div></template>
</template>
<template id="template-markdown"> <template id="template-markdown">
<style> <style>
.markdown { .markdown {
@ -235,8 +227,7 @@
</style> </style>
<div class="markdown"> <div class="markdown">
<slot name="markdown-document">{Markdown text}</slot> <slot name="markdown-document">{Markdown text}</slot>
</div> </div></template>
</template>
<template id="template-frontmatter"> <template id="template-frontmatter">
<style> <style>
.frontmatter { .frontmatter {
@ -245,8 +236,7 @@
</style> </style>
<div class="frontmatter"> <div class="frontmatter">
<slot name="frontmatter-contents">{Markdown text}</slot> <slot name="frontmatter-contents">{Markdown text}</slot>
</div> </div></template>
</template>
<template id="template-hashtag"> <template id="template-hashtag">
<style> <style>
.hashtag { .hashtag {
@ -254,8 +244,7 @@
color: var(--color-accent); color: var(--color-accent);
} }
</style> </style>
<span class="hashtag"><slot name="hashtag-tag">{#Hashtag}</slot></span> <span class="hashtag"><slot name="hashtag-tag">{#Hashtag}</slot></span></template>
</template>
<template id="template-wikilink"> <template id="template-wikilink">
<style> <style>
.wikilink { .wikilink {
@ -268,11 +257,9 @@
cursor: pointer; cursor: pointer;
} }
</style> </style>
<a class="wikilink"></a> <a class="wikilink"></a></template>
</template>
<template id="template-math"> <template id="template-math">
<slot name="math-katex">{Math}</slot> <slot name="math-katex">{Math}</slot></template>
</template>
</head> </head>
<body is="x-browse"></body> <body is="x-browse"></body>
</html> </html>

View file

@ -69,6 +69,7 @@ svg line {
.math { .math {
overflow-x: auto; overflow-x: auto;
overflow-y: hidden;
} }
.math-inline { .math-inline {