Skip to content

Commit

Permalink
add wrap div for panel withou title
Browse files Browse the repository at this point in the history
  • Loading branch information
denco committed Nov 10, 2023
1 parent 6353d97 commit f43facc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/markupParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ export function parseMarkup(sourceUri: vscode.Uri, sourceText: string) {
if (!res.match(`${panelClass}-title`)) {
res = `<div><div class="${panelClass} ${panelClass}-title$iconlessFlag"></div>${res}`;
}
} else {
if (!res.match(`${panelClass}-title`)) {
res = `<div>${res}`; // wrap titleles panel;
}
}

res = res.replace('$iconlessFlag', iconlessFlag);
Expand Down

0 comments on commit f43facc

Please sign in to comment.