Make password confirmation button responsive #1406

This commit is contained in:
DianaXWiki 2024-07-25 22:25:26 +03:00
parent 35109ae446
commit bba8bc84a1
2 changed files with 21 additions and 13 deletions

View File

@ -327,8 +327,6 @@
nav {
padding: @alertify_padding-base;
text-align: right;
display: flex;
align-items: center;
button, div.cp-button-confirm {
margin: 0px !important;
&:not(:first-child):not(.left) {
@ -341,17 +339,6 @@
div.cp-button-confirm {
vertical-align: middle;
}
.btn.btn-danger {
overflow-wrap: break-word;
white-space: normal;
}
@media screen and (max-width: @browser_media-medium-screen){
justify-content: flex-end;
.btn.btn-danger {
width: 100%;
line-height: inherit;
}
}
}
}
}

View File

@ -38,6 +38,22 @@
margin-left: 0.5rem;
}
.alertify {
nav {
display: flex;
justify-content: center;
align-items: flex-end;
@media screen and (max-width: @browser_media-medium-screen) {
.btn-danger {
line-height: inherit;
overflow-wrap: break-word;
white-space: normal;
width: 100%;
}
}
}
}
#cp-sidebarlayout-container {
#cp-sidebarlayout-rightside {
input[type="checkbox"] {
@ -113,6 +129,11 @@
margin-left: 10px;
}
}
nav {
display: flex;
justify-content: center;
align-items: flex-end;
}
@media (max-width: 840px) {
.cp-password-container {