mirror of
https://github.com/zadam/trilium.git
synced 2026-01-05 23:19:56 +01:00
feat(client/rtl): handle border-left
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
}
|
||||
|
||||
.backlink-excerpt {
|
||||
border-left: 2px solid var(--main-border-color);
|
||||
border-inline-start: 2px solid var(--main-border-color);
|
||||
padding-inline-start: 10px;
|
||||
opacity: 80%;
|
||||
font-size: 90%;
|
||||
|
||||
@@ -2096,8 +2096,8 @@ const icons: Icon[] = [
|
||||
type_of_icon: "REGULAR"
|
||||
},
|
||||
{
|
||||
name: "border-left",
|
||||
slug: "border-left-regular",
|
||||
name: "border-inline-start",
|
||||
slug: "border-inline-start-regular",
|
||||
category_id: 111,
|
||||
type_of_icon: "REGULAR"
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@ import { formatMarkdown, applyHighlighting } from "./utils.js";
|
||||
export const TPL = `
|
||||
<div class="note-context-chat h-100 w-100 d-flex flex-column">
|
||||
<!-- Move validation warning outside the card with better styling -->
|
||||
<div class="provider-validation-warning alert alert-warning m-2 border-left border-warning" style="display: none; padding-inline-start: 15px; border-left: 4px solid #ffc107; background-color: rgba(255, 248, 230, 0.9); font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05);"></div>
|
||||
<div class="provider-validation-warning alert alert-warning m-2 border-inline-start border-warning" style="display: none; padding-inline-start: 15px; border-inline-start: 4px solid #ffc107; background-color: rgba(255, 248, 230, 0.9); font-size: 0.9rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05);"></div>
|
||||
|
||||
<div class="note-context-chat-container flex-grow-1 overflow-auto p-3">
|
||||
<div class="note-context-chat-messages"></div>
|
||||
|
||||
@@ -47,7 +47,7 @@ const TPL = /*html*/`<div class="toc-widget">
|
||||
content: "";
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
border-left: 1px solid var(--main-border-color);
|
||||
border-inline-start: 1px solid var(--main-border-color);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ const TPL = /*html*/`\
|
||||
/* Horizontal layout */
|
||||
|
||||
.note-detail-split.split-horizontal > .note-detail-split-preview-col {
|
||||
border-left: 1px solid var(--main-border-color);
|
||||
border-inline-start: 1px solid var(--main-border-color);
|
||||
}
|
||||
|
||||
.note-detail-split.split-horizontal > .note-detail-split-editor-col,
|
||||
|
||||
Reference in New Issue
Block a user