Fix margin on favorites

This commit is contained in:
Jack Anderson 2024-12-19 12:57:52 +00:00 committed by j.anderson
parent 1ad34e7f55
commit 497b1218d9
3 changed files with 39 additions and 2 deletions

View file

@ -50,9 +50,9 @@
(click)="onFocusSearch()"
>
<div *ngIf="store.special.length > 0" class="float-right mt-4" field-grid-special>
<div *ngIf="store.special.length > 0" class="special-field-grid" field-grid-special>
<div *ngFor="let item of store.special " class="d-inline-block mb-2 mr-sm-2 w-25">
<div *ngFor="let item of store.special " class="d-inline-block mr-sm-2 w-25 special-field-grid-col">
<label class="form-check-label">
<scrm-label [labelKey]="item.labelKey"></scrm-label>

View file

@ -0,0 +1,36 @@
/**
* SuiteCRM is a customer relationship management program developed by SalesAgility Ltd.
* Copyright (C) 2024 SalesAgility Ltd.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SALESAGILITY, SALESAGILITY DISCLAIMS THE
* WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* In accordance with Section 7(b) of the GNU Affero General Public License
* version 3, these Appropriate Legal Notices must retain the display of the
* "Supercharged by SuiteCRM" logo. If the display of the logos is not reasonably
* feasible for technical reasons, the Appropriate Legal Notices must display
* the words "Supercharged by SuiteCRM".
*/
.card-body {
.filter-body {
.special-field-grid {
.special-field-grid-col {
position: relative;
top: .5rem !important;
}
}
}
}

View file

@ -77,6 +77,7 @@
@import 'components/relatemodal-mobile';
@import 'components/classic-view-modal';
@import 'components/favorite';
@import 'components/listview-filter';
@import 'components/box-loading';
@import 'components/record-content-skeleton';
@import 'components/notifications';