This commit is contained in:
tiago.kayaya
2021-08-20 14:45:44 +01:00
parent ef9858dbea
commit 68c8e334c0
8 changed files with 19 additions and 11 deletions
@@ -30,7 +30,7 @@
margin: 0 auto !important; margin: 0 auto !important;
margin-bottom: 10px; margin-bottom: 10px;
} }
@media only screen and (min-width: 1024px) { @media only screen and (min-width: 701px) {
.arrow-right{ .arrow-right{
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
@@ -46,7 +46,7 @@ export class ChatOptionsFeaturesPage implements OnInit {
} }
close(){ close(){
if( window.innerWidth <= 1024){ if( window.innerWidth < 701){
this.popoverController.dismiss(); this.popoverController.dismiss();
} }
else{ else{
@@ -46,7 +46,7 @@ export class ChatOptionsPopoverPage implements OnInit {
} }
close(){ close(){
if( window.innerWidth <= 1024){ if( window.innerWidth < 701){
this.popoverController.dismiss(); this.popoverController.dismiss();
} }
else{ else{
@@ -6,7 +6,7 @@
</div> </div>
<div class="buttons"> <div class="buttons">
<button (click)="leaveGroup()" class="btn-cancel" shape="round" >Sair do Grupo</button> <button (click)="leaveGroup()" class="btn-cancel" shape="round" >Sair do Grupo</button>
<button (click)="openChangeGroupName()" class="btn-ok" shape="round" >Alterar nome do grupo</button> <button (click)="openChangeGroupName()" class="btn-cancel" shape="round" >Alterar nome do grupo</button>
<div class="solid"></div> <div class="solid"></div>
<button (click)="close()" full class="btn-cancel mobile-only" shape="round" >Cancelar</button> <button (click)="close()" full class="btn-cancel mobile-only" shape="round" >Cancelar</button>
<button (click)="deleteGroup()" class="btn-delete" shape="round">Apagar grupo</button> <button (click)="deleteGroup()" class="btn-delete" shape="round">Apagar grupo</button>
@@ -25,7 +25,8 @@
border-top: 1px solid #bbb; border-top: 1px solid #bbb;
margin: 10px auto !important; margin: 10px auto !important;
} }
@media only screen and (min-width: 1024px) {
@media only screen and (min-width: 701px) {
.arrow-right{ .arrow-right{
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
@@ -35,6 +36,10 @@
width: 100% !important; width: 100% !important;
margin-bottom: 10px !important; margin-bottom: 10px !important;
} }
.btn-cancel:hover, .btn-delete:hover{
background-color: #42b9fe;
color: #fff !important;
}
.btn-ok{ .btn-ok{
width: 100% !important; width: 100% !important;
} }
@@ -48,4 +53,5 @@
.mobile-only{ .mobile-only{
display: none !important; display: none !important;
} }
} }
@@ -25,7 +25,7 @@
border-top: 1px solid #bbb; border-top: 1px solid #bbb;
margin: 0 auto !important; margin: 0 auto !important;
} }
@media only screen and (min-width: 1024px) { @media only screen and (min-width: 701px) {
.arrow-right{ .arrow-right{
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
@@ -25,11 +25,13 @@ export class MessagesOptionsPage implements OnInit {
} }
close(){ close(){
if( window.innerWidth <= 1024){ if( window.innerWidth <= 701){
this.modalController.dismiss();
this.popoverController.dismiss(); this.popoverController.dismiss();
} }
else{ else{
this.modalController.dismiss(); this.modalController.dismiss();
this.popoverController.dismiss();
} }
} }
+1 -1
View File
@@ -370,7 +370,7 @@ td.monthview-secondary-with-event, td.monthview-secondary-with-event[_ngcontent-
border-radius: 0 0 25px 25px; border-radius: 0 0 25px 25px;
} }
@media only screen and (min-width: 1140px) { @media only screen and (min-width: 701px) {
.modal-wrapper{ .modal-wrapper{
max-width: 400px; max-width: 400px;
} }