Compare commits

...

12 commits

Author SHA1 Message Date
DianaXWiki
5f5df5f0a7 Add small class fix #1406 2024-08-22 14:36:08 +03:00
DianaXWiki
5a0e4b8a19 Implement review fixes #1406 2024-08-22 14:24:01 +03:00
DianaXWiki
1dea3cc9af Merge branch 'staging' into 1406-password-confirmation-button-badly-formatted-on-mobile 2024-08-22 14:06:54 +03:00
DianaXWiki
5a274051fc Fix button overflowing on landscape mode #1406 2024-08-02 14:51:22 +03:00
DianaXWiki
9ba9a8f446 Implement review fixes #1406 2024-07-30 18:01:06 +03:00
DianaXWiki
a1f698b6f3 Fix small issues #1406 2024-07-30 13:39:01 +03:00
DianaXWiki
3eece44804 Generalize solution to install and register confirmation buttons #1406 2024-07-25 23:19:26 +03:00
DianaXWiki
bba8bc84a1 Make password confirmation button responsive #1406 2024-07-25 22:25:26 +03:00
David Benque
ca8e58b34a
Merge branch 'main' into staging 2024-07-25 15:24:01 +01:00
yflory
5b08caede2 Merge branch '2024.6.1' into staging 2024-07-24 15:26:11 +02:00
David Benque
11cf84a985 Update linter rules
Prevent line break errors on Windows
2024-07-18 15:42:56 +01:00
DianaXWiki
35109ae446 Make confirm button responsive #1406 2024-07-17 17:46:59 +03:00
9 changed files with 28 additions and 18 deletions

View file

@ -35,7 +35,7 @@ module.exports = {
4
],
'linebreak-style': [
'error',
'off', // git handles linebreak conversion for us
'unix'
],
'quotes': [

View file

@ -149,7 +149,8 @@
box-sizing: border-box;
align-items: center;
padding: 0 6px;
line-height: 36px;
line-height: 20px;
padding: 8px 6px;
white-space: nowrap;
text-align: center;
text-transform: uppercase;

View file

@ -43,13 +43,10 @@
nav {
display: flex;
align-items: center;
justify-content: flex-end;
}
@media screen and (max-width: 600px) {
nav .btn-danger {
line-height: inherit;
align-items: flex-end;
.btn-confirm {
white-space: normal;
}
}

View file

@ -68,13 +68,10 @@
nav {
display: flex;
align-items: center;
justify-content: flex-end;
}
@media screen and (max-width: 600px) {
nav .btn-danger {
line-height: inherit;
align-items: flex-end;
.btn-confirm {
white-space: normal;
}
}

View file

@ -778,7 +778,6 @@ define([
UI.confirm = function (msg, cb, opt, force) {
cb = cb || function () {};
opt = opt || {};
var message;
if (typeof(msg) === 'string') {
if (!force) { msg = Util.fixHTML(msg); }

View file

@ -189,7 +189,7 @@ define([
anywhere else then we can deprecate them and make this a
custom modal in common-interface (or here). */
cancelClass: 'btn.btn-cancel.btn-register',
okClass: 'btn.btn-danger.btn-register',
okClass: 'btn.btn-danger.btn-register.btn-confirm',
reverseOrder: true,
done: function ($dialog) {
$dialog.find('> div').addClass('half');

View file

@ -175,7 +175,7 @@ define([
anywhere else then we can deprecate them and make this a
custom modal in common-interface (or here). */
cancelClass: 'btn.btn-cancel.btn-register',
okClass: 'btn.btn-danger.btn-register',
okClass: 'btn.btn-danger.btn-register.btn-confirm',
reverseOrder: true,
done: function ($dialog) {
$dialog.find('> div').addClass('half');

View file

@ -38,6 +38,17 @@
margin-left: 0.5rem;
}
.alertify {
nav {
display: flex;
justify-content: flex-end;
align-items: flex-end;
.btn-confirm {
white-space: normal;
}
}
}
#cp-sidebarlayout-container {
#cp-sidebarlayout-rightside {
input[type="checkbox"] {
@ -113,6 +124,11 @@
margin-left: 10px;
}
}
nav {
display: flex;
justify-content: center;
align-items: flex-end;
}
@media (max-width: 840px) {
.cp-password-container {

View file

@ -807,7 +807,7 @@ define([
}, {
ok: Messages.register_writtenPassword,
cancel: Messages.register_cancel,
okClass: 'btn.btn-danger',
okClass: 'btn.btn-danger.btn-confirm',
reverseOrder: true,
done: function($dialog) {
$dialog.find('> div').addClass('half');