Skip to content

Commit

Permalink
fixed appearing scrollbar when pressing a button in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizcky committed Apr 29, 2024
1 parent 5c86053 commit 1245901
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions kraken_frontend/src/styling/knowledge-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,11 @@
border-radius: 0.5em;
border: 1px solid var(--primary-op);
}

.knowledge-base-finding-definition-popup{
display: flex;
flex-direction: column;
gap: 1em;
max-height: 90vh;
overflow-y: auto;
}
2 changes: 0 additions & 2 deletions kraken_frontend/src/styling/workspace-settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@
display: flex;
flex-direction: column;
gap: 1em;
max-height: 90vh;
overflow-y: auto;
}

.workspace-setting-popup h2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export function DeleteButton(props: DeleteButtonProps) {
}
>
<div
className="popup-content pane workspace-setting-popup"
className="pane knowledge-base-finding-definition-popup"
style={{ width: "100ch", backgroundColor: "rgba(30,0,0,0.25)" }}
>
<h2 className="heading neon">Are you sure you want to delete the finding definition "{name}"?</h2>
Expand Down

0 comments on commit 1245901

Please sign in to comment.