mirror of
https://github.com/devon22/obsidian-gridexplorer.git
synced 2026-07-22 05:38:16 +00:00
3.0.6
This commit is contained in:
parent
3832b83c86
commit
50236cabb0
6 changed files with 21 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "gridexplorer",
|
||||
"name": "GridExplorer",
|
||||
"version": "3.0.5",
|
||||
"version": "3.0.6",
|
||||
"minAppVersion": "1.1.0",
|
||||
"description": "Browse note files in a grid view.",
|
||||
"author": "Devon22",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "gridexplorer",
|
||||
"version": "3.0.5",
|
||||
"version": "3.0.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "gridexplorer",
|
||||
"version": "3.0.5",
|
||||
"version": "3.0.6",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@esbuild/linux-x64": "0.17.3",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "gridexplorer",
|
||||
"version": "3.0.5",
|
||||
"version": "3.0.6",
|
||||
"description": "Browse note files in a grid view.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1991,6 +1991,11 @@ export class GridView extends ItemView {
|
|||
|
||||
// 在網格視圖中直接顯示筆記
|
||||
async showNoteInGrid(file: TFile) {
|
||||
// 隱藏移動端導航欄
|
||||
// const mobileNavbar = document.querySelector('.mobile-navbar') as HTMLElement;
|
||||
// if (mobileNavbar) {
|
||||
// mobileNavbar.style.display = 'none';
|
||||
// }
|
||||
|
||||
// 關閉之前的筆記顯示
|
||||
if (this.isShowingNote) {
|
||||
|
|
@ -2112,7 +2117,11 @@ export class GridView extends ItemView {
|
|||
hideNoteInGrid() {
|
||||
if (!this.isShowingNote) return;
|
||||
|
||||
//const gridContainer = this.containerEl.querySelector('.ge-grid-container');
|
||||
// 顯示移動端導航欄
|
||||
// const mobileNavbar = document.querySelector('.mobile-navbar') as HTMLElement;
|
||||
// if (mobileNavbar) {
|
||||
// mobileNavbar.style.display = '';
|
||||
// }
|
||||
|
||||
if (this.noteViewContainer) {
|
||||
// 移除鍵盤事件監聽器
|
||||
|
|
|
|||
|
|
@ -2133,6 +2133,11 @@ a.ge-current-folder:hover {
|
|||
border-radius: 0 var(--radius-s) var(--radius-s) 0;
|
||||
}
|
||||
|
||||
/* 隱藏複製按鈕 */
|
||||
.ge-note-content .copy-code-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ge-note-content ul,
|
||||
.ge-note-content ol {
|
||||
margin: 1em 0;
|
||||
|
|
@ -2701,6 +2706,6 @@ a.ge-current-folder:hover {
|
|||
padding-bottom: calc(var(--view-bottom-spacing) + var(--size-4-3)) !important;
|
||||
}
|
||||
|
||||
.is-phone .mod-root .ge-note-view-container {
|
||||
.is-phone .ge-note-content {
|
||||
padding-bottom: var(--view-bottom-spacing) !important;
|
||||
}
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"3.0.5": "1.1.0"
|
||||
"3.0.6": "1.1.0"
|
||||
}
|
||||
Loading…
Reference in a new issue