Skip to content

Commit

Permalink
Fix the border opacity and height
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbinnie committed Feb 26, 2025
1 parent 0862ddb commit 315c5cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/renderer/components/SettingsModal/SettingsModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

> .Modal_content {
border: var(--border-light);
min-height: 475px;
display: flex;
flex-direction: column;
}
Expand All @@ -22,6 +21,7 @@
.Modal__body {
display: flex;
flex: 1;
min-height: 475px;

.SettingsModal__sidebar {
flex: 0 0 auto;
Expand Down Expand Up @@ -74,7 +74,7 @@

.SettingsModal__content {
padding: 28px 32px;
border-right: var(--border-light);
border-left: var(--border-light);
width: 100%;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -104,14 +104,3 @@
}
}
}

body.darkMode .SettingsModal {
.Modal_content {
border: var(--border-dark);
}

.Modal__body .SettingsModal__content {
border-right: var(--border-dark);
}
}

5 changes: 5 additions & 0 deletions src/renderer/css/_css_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,9 @@
--error-text: #da6c6e;
--mention-highlight-bg: #0d6e6e;
--mention-highlight-link: #a4f4f4;

/* Border variables */
--border-default: solid 1px rgba(var(--center-channel-color-rgb), 0.12);
--border-light: solid 1px rgba(var(--center-channel-color-rgb), 0.08);
--border-dark: solid 1px rgba(var(--center-channel-color-rgb), 0.16);
}

0 comments on commit 315c5cd

Please sign in to comment.