mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Fix filter button overlapping on mobile
This commit is contained in:
parent
782d5cf57c
commit
838339c529
5 changed files with 39 additions and 2 deletions
|
@ -22,7 +22,6 @@ parameters:
|
||||||
labelKey: LBL_FILTER
|
labelKey: LBL_FILTER
|
||||||
action: show-filter
|
action: show-filter
|
||||||
params:
|
params:
|
||||||
collapsedMobile: true
|
|
||||||
expanded: true
|
expanded: true
|
||||||
modes:
|
modes:
|
||||||
- list
|
- list
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<ng-content select="[panel-icon-area]"></ng-content>
|
<ng-content select="[panel-icon-area]"></ng-content>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="title" class="pl-1 panel-title d-flex align-items-center"><div class="lh-100">{{title}}</div></div>
|
<div *ngIf="title" class="pl-1 panel-title d-inline-block align-items-center"><div class="lh-100">{{title}}</div></div>
|
||||||
<div *ngIf="titleKey" class="pl-1 panel-title">
|
<div *ngIf="titleKey" class="pl-1 panel-title">
|
||||||
<scrm-label [labelKey]="titleKey"></scrm-label>
|
<scrm-label [labelKey]="titleKey"></scrm-label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -211,3 +211,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sub-panels .minimal-table .card .card-header {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
|
@ -47,6 +47,19 @@
|
||||||
margin-top: 0.625rem;
|
margin-top: 0.625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.sub-panel .panel-buttons button.btn-outline-light {
|
||||||
|
scrm-label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrm-image {
|
||||||
|
display: flex!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.sub-panel .panel-buttons button.btn-outline-light {
|
.sub-panel .panel-buttons button.btn-outline-light {
|
||||||
scrm-image {
|
scrm-image {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
.panel-title {
|
.panel-title {
|
||||||
font-size: .875rem;
|
font-size: .875rem;
|
||||||
|
max-width: 445px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-buttons button {
|
.panel-buttons button {
|
||||||
|
@ -63,3 +64,23 @@
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.panel-card .panel-title {
|
||||||
|
max-width: 95px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 480px) and (max-width: 576px) {
|
||||||
|
.panel-card .panel-title {
|
||||||
|
max-width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 576px) and (max-width: 768px) {
|
||||||
|
.panel-card .panel-title {
|
||||||
|
max-width: 245px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue