Skip to content

Commit

Permalink
fix(style): wrong style for regex text content
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Sep 2, 2023
1 parent c5c5c66 commit 2863e0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/settings/modals/regex_edition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export class ModalRegexOnContents extends Modal {
onOpen() {
const {contentEl} = this;
contentEl.empty();
contentEl.addClasses(["github-publisher", "modals", "regex", "on-contents"]);
contentEl
.createEl("p", {
text: i18next.t("settings.regexReplacing.modal.title.text") ,
Expand Down
6 changes: 3 additions & 3 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* styles.css */

/* ---------- MODALS REGEX ---------- */
.github-publisher.modals.regex.file-path-name .setting-item.entry {
.github-publisher.modals .setting-item.entry {
border: 0 !important;
padding: 5px !important;
}
Expand All @@ -12,11 +12,11 @@ hr.github-publisher-hr {
}


.github-publisher.modals.regex.file-path-name .setting-item.entry input {
.github-publisher.modals .setting-item.entry input {
width: 100%;
}

.setting-item.entry .setting-item-info {
.github-publisher.modals .setting-item.entry .setting-item-info {
display: none;
}

Expand Down

0 comments on commit 2863e0b

Please sign in to comment.