mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix bottom margin/padding styling in tooltip
This commit is contained in:
parent
e7909d25c6
commit
2f58b6b3c8
@ -85,7 +85,7 @@ async function getRenderedContent(note, options = {}) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$renderedContent.append($("<em>Content of this note cannot be displayed in the book format</em>"));
|
$renderedContent.append($("<p><em>Content of this note cannot be displayed in the book format</em></p>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$renderedContent.addClass(note.getCssClass());
|
$renderedContent.addClass(note.getCssClass());
|
||||||
|
@ -405,7 +405,7 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tooltip-inner {
|
.tooltip-inner {
|
||||||
padding: 15px 15px 0 15px;
|
padding: 15px;
|
||||||
background-color: var(--tooltip-background-color) !important;
|
background-color: var(--tooltip-background-color) !important;
|
||||||
border: 1px solid var(--main-border-color);
|
border: 1px solid var(--main-border-color);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@ -415,6 +415,10 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
|
|||||||
box-shadow: 10px 10px 93px -25px #aaaaaa;
|
box-shadow: 10px 10px 93px -25px #aaaaaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tooltip-inner p:last-of-type {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.rendered-note-attributes {
|
.rendered-note-attributes {
|
||||||
color: var(--muted-text-color);
|
color: var(--muted-text-color);
|
||||||
margin-bottom: 7px;
|
margin-bottom: 7px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user