Skip to content

Commit

Permalink
fix scroll again
Browse files Browse the repository at this point in the history
  • Loading branch information
agix committed Apr 26, 2022
1 parent c971ef1 commit 460f016
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/secrets/SecretListNew.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ function SecretListNew({ folder }) {
}
>
<Icon id="add-secret" size="small" />
Add secret
Secret
</Button>
<Button
title="Add secret"
title="Add folder"
buttonStyle="primary"
size="small"
disabled={!canWrite}
Expand All @@ -53,7 +53,7 @@ function SecretListNew({ folder }) {
}
>
<Icon id="add-folder" size="small" />
Create folder
Folder
</Button>
</div>
);
Expand Down
3 changes: 2 additions & 1 deletion src/stylesheets/components/Layout.sass
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.layout
min-width: 300px
max-height: calc(100% - 20px)
max-height: calc(100% - 52px)
flex: 1 1 100%
display: flex
flex-direction: row
Expand All @@ -26,5 +26,6 @@
cursor: pointer

.footer
margin-top: 10px
flex: 1
flex-direction: column
1 change: 1 addition & 0 deletions src/stylesheets/components/utilities/Modal.sass
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
flex-direction: column
align-items: center
padding: 5%
overflow: auto

&.modal--centered
justify-content: center
Expand Down

0 comments on commit 460f016

Please sign in to comment.