Skip to content

Commit

Permalink
Merge branch 'master' into fix-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zelfroster committed Nov 18, 2023
2 parents 305297c + dae0c13 commit ca26e85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 0 additions & 2 deletions webui-src/app/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ const retroshareId = () => {
'textarea[readonly].textArea',
{
id: 'retroId',
rows: 1,
cols: v.attrs.ownCert.length + 2,
placeholder: 'certificate',
onclick: () => {
document.getElementById('retroId').select();
Expand Down
7 changes: 6 additions & 1 deletion webui-src/app/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ function loginComponent() {
const buttonLogin = () =>
m(
'button[type=submit].submit-btn#loginBtn',
{ onclick: () => verifyLogin(uname, passwd, url) },
{
onclick: (ev) => {
ev.preventDefault();
verifyLogin(uname, passwd, url);
},
},
'Login'
);

Expand Down
4 changes: 3 additions & 1 deletion webui-src/app/scss/pages/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
border-radius: 4px;
background: transparentize($dark-color, 0.95);
& .textArea {
padding: 0.25rem;
padding: 0;
width: 100%;
min-height: 75px;
font-size: 1rem;
font-family: monospace;
background: transparent;
Expand Down
2 changes: 1 addition & 1 deletion webui-src/styles.css

Large diffs are not rendered by default.

0 comments on commit ca26e85

Please sign in to comment.