Browse Source

UI: Clear code after upgrade Angular

pull/4651/head
Vladyslav_Prykhodko 5 years ago
parent
commit
252a3ad625
  1. 20
      ui-ngx/src/app/modules/home/components/device/security-config-lwm2m-server.component.scss
  2. 2
      ui-ngx/src/app/modules/home/components/device/security-config-lwm2m-server.component.ts
  3. 4
      ui-ngx/src/app/modules/home/components/device/security-config-lwm2m.component.scss

20
ui-ngx/src/app/modules/home/components/device/security-config-lwm2m-server.component.scss

@ -1,20 +0,0 @@
/**
* Copyright © 2016-2021 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
:host ::ng-deep {
textarea.mat-input-element.cdk-textarea-autosize {
box-sizing: content-box;
}
}

2
ui-ngx/src/app/modules/home/components/device/security-config-lwm2m-server.component.ts

@ -41,7 +41,7 @@ import { Subject } from 'rxjs';
@Component({
selector: 'tb-security-config-lwm2m-server',
templateUrl: './security-config-lwm2m-server.component.html',
styleUrls: ['./security-config-lwm2m-server.component.scss'],
styleUrls: [],
providers: [
{
provide: NG_VALUE_ACCESSOR,

4
ui-ngx/src/app/modules/home/components/device/security-config-lwm2m.component.scss

@ -27,8 +27,4 @@
.mat-tab-body {
padding: 16px 0;
}
textarea.mat-input-element.cdk-textarea-autosize {
box-sizing: content-box;
}
}

Loading…
Cancel
Save