Skip to content

Commit

Permalink
Merge pull request #105 from trey-wallis/dev
Browse files Browse the repository at this point in the history
Table fixes
  • Loading branch information
decaf-dev authored Apr 30, 2022
2 parents f17f35d + 509468f commit 6225ac7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class NltPlugin extends Plugin {
if (table.length === 1) {
context.addChild(
new NLTTable(
table[0],
element,
this.app,
this,
this.settings,
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"author": "Trey Wallis",
"authorUrl": "https://github.com/trey-wallis",
"isDesktopOnly": false,
"version": "2.3.2"
"version": "2.3.3"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-notion-like-tables",
"version": "2.3.2",
"version": "2.3.3",
"description": "Notion-like tables for Obsidian.md",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/NLTTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class NLTTable extends MarkdownRenderChild {
</AppContext.Provider>,
this.el
);
this.containerEl.replaceWith(this.el);
this.containerEl.children[0].replaceWith(this.el);
}
}
}
2 changes: 1 addition & 1 deletion src/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
padding: 4px;
}

.NLT__button:focus {
.NLT__button:focus-visible {
outline: 1px solid blue;
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/components/DragMenu/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
font-size: 0.9rem;
}

.NLT__drag-menu-item:focus {
.NLT__drag-menu-item:focus-visible {
outline: 1px solid blue;
}
2 changes: 1 addition & 1 deletion src/app/components/EditableTd/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
cursor: default;
}

.NLT__td:focus {
.NLT__td:focus-visible {
border: 1px solid blue;
border-style: double;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/EditableTh/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
text-align: left;
}

.NLT__th:focus {
.NLT__th:focus-visible {
border: 1px solid blue;
border-style: double;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/HeaderMenu/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
min-width: 100px;
}

.NLT__header-menu-item:focus {
.NLT__header-menu-item:focus-visible {
outline: 1px solid blue;
}

Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"2.2.0": "0.12.0",
"2.3.0": "0.12.0",
"2.3.1": "0.12.0",
"2.3.2": "0.12.0"
"2.3.2": "0.12.0",
"2.3.3": "0.12.0"
}

0 comments on commit 6225ac7

Please sign in to comment.