feat(client/rtl): handle border-left

This commit is contained in:
Elian Doran
2025-10-08 17:46:59 +03:00
parent 6faccd3b14
commit 1b1bceebfe
8 changed files with 17 additions and 17 deletions

View File

@@ -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%;

View File

@@ -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"
},

View File

@@ -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>

View File

@@ -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;
}

View File

@@ -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,