Skip to content

Commit

Permalink
Fix CSS scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
m-pilarczyk committed Jan 16, 2019
1 parent eebae41 commit 0fa62a2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 16 deletions.
13 changes: 6 additions & 7 deletions app/components/Page/Page.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,19 @@
}

.contentWrapper {
padding: 15px;
text-align: left;
overflow: auto;
position: relative;
z-index: 99;
}

.withScroll {
margin: 15px;
padding: 0;
margin-right: 5px;
padding-right: 10px;
overflow-x: hidden;
overflow-y: auto;
max-height: 460px;
}

.withScroll {
overflow-y: scroll;
height: 460px;
}

.footer {
Expand Down
1 change: 0 additions & 1 deletion app/containers/Settings/SettingsPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
.accountLabel {
display: inline-block;
vertical-align: bottom;
width: 226px;
}

.accountLabel * {
Expand Down
2 changes: 1 addition & 1 deletion app/containers/Settings/SettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class SettingsPage extends FormComponent {
{this.props.vault.accounts.length > 0 &&
<ul className={style.accounts}>
{this.props.vault.accounts.map((account, index) =>
<li key={index}>{this.renderAccountRow(account)}</li>
<li className={style.list} key={index}>{this.renderAccountRow(account)}</li>
)}
</ul>
}
Expand Down
2 changes: 1 addition & 1 deletion app/utils/vaultcrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function encrypt(vault, password) {
}
)),
});
return CryptoJS.AES.encrypt(data, password).toString();;
return CryptoJS.AES.encrypt(data, password).toString();
}

function decrypt(encryptedVault, password) {
Expand Down
3 changes: 1 addition & 2 deletions chrome/views/popup.pug
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ html
padding: 0;
}
body {
width: 400px;
width: 420px;
min-height: 300px;
max-height: 580px;
}
@keyframes rotate {
to {
Expand Down
2 changes: 1 addition & 1 deletion chrome/views/window.pug
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ html
padding: 0;
}
body {
width: 400px;
width: 420px;
min-height: 300px;
border: 1px solid #ccc;
box-shadow: 3px 3px 15px rgba(126,126,126,.25);
Expand Down
3 changes: 1 addition & 2 deletions dev/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
padding: 0;
}
body {
width: 400px;
width: 420px;
min-height: 300px;
max-height: 580px;
}
@keyframes rotate {
to {
Expand Down
2 changes: 1 addition & 1 deletion dev/window.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
padding: 0;
}
body {
width: 400px;
width: 420px;
min-height: 300px;
border: 1px solid #ccc;
box-shadow: 3px 3px 15px rgba(126,126,126,.25);
Expand Down

0 comments on commit 0fa62a2

Please sign in to comment.