Rate limits styles updated

This commit is contained in:
deaflynx 2022-07-26 11:37:39 +03:00
parent 88599262da
commit 530deadcaf
3 changed files with 10 additions and 10 deletions

View File

@ -26,13 +26,7 @@
</button>
</mat-toolbar>
<div mat-dialog-content>
<fieldset>
<div fxFlex fxLayout="column">
<tb-rate-limits-list
formControlName="rateLimits">
</tb-rate-limits-list>
</div>
</fieldset>
<tb-rate-limits-list formControlName="rateLimits"></tb-rate-limits-list>
</div>
<div mat-dialog-actions fxLayoutAlign="end center">
<button mat-button color="primary"

View File

@ -15,7 +15,7 @@
limitations under the License.
-->
<section [formGroup]="rateLimitsListFormGroup">
<section class="tb-rate-limits-form" [formGroup]="rateLimitsListFormGroup">
<div fxFlex [formGroup]="rateLimit" *ngFor="let rateLimit of rateLimitsFormArray.controls; let $index = index">
<div class="tb-rate-limits-operation" *ngIf="$index > 0 && rateLimitsFormArray.controls.length > 1" translate>
tenant-profile.rate-limits.but-less-than

View File

@ -13,9 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@import "../../../../../../../scss/constants";
:host {
@media screen and (min-width: 800px) {
min-width: 600px;
.tb-rate-limits-form {
@media #{$mat-gt-sm} {
min-width: 600px;
}
}
.tb-rate-limits-preview {
@ -29,11 +33,13 @@
padding: 1em;
}
}
.tb-rate-limits-operation {
font-size: 12px;
color: rgba(0,0,0,.54);
margin-bottom: 16px;
}
.tb-rate-limits-button {
margin-top: 0.5em;
}