Browse Source

deleted useless class

pull/11915/head
mpetrov 2 years ago
parent
commit
33b1cc34ee
  1. 2
      ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.html
  2. 10
      ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.scss

2
ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.html

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
--> -->
<h2 mat-dialog-title class="dialog-title" tbTruncateWithTooltip>{{data.title}}</h2> <h2 mat-dialog-title tbTruncateWithTooltip>{{data.title}}</h2>
<div mat-dialog-content [innerHTML]="data.message | safe: 'html'"></div> <div mat-dialog-content [innerHTML]="data.message | safe: 'html'"></div>
<div mat-dialog-actions class="flex items-center justify-end"> <div mat-dialog-actions class="flex items-center justify-end">
<button mat-button color="primary" [mat-dialog-close]="false">{{data.cancel}}</button> <button mat-button color="primary" [mat-dialog-close]="false">{{data.cancel}}</button>

10
ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.scss

@ -13,18 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
@import "constants";
:host { :host {
.mat-mdc-dialog-content { .mat-mdc-dialog-content {
padding: 0 24px 24px; padding: 0 24px 24px;
} }
.dialog-title {
max-width: 80vw;
@media #{$mat-lt-sm} {
max-width: 100%;
}
}
} }

Loading…
Cancel
Save