@mixin ellipsis($row) { overflow: hidden; text-overflow: ellipsis; @if $row == 1 { display: block; white-space: nowrap; word-wrap: normal; } @else if $row >= 2 { display: -webkit-box; -webkit-line-clamp: $row; -webkit-box-orient: vertical; word-wrap: break-word; } } .rightDrawer-notice { width: 100%; height: calc(100% - 60px); .table-box { height: calc(100% - 111.5px); overflow: auto; } } .mat-table { width: 100%; position: relative; th.infos { padding: 10px; } tr.mat-row { height: 70px; .notice-info { padding: 16px; display: grid; height: 70px; .title { font-weight: 600; margin-bottom: 2px; width: 50%; @include ellipsis(1); .important { color: red; } } } } } .mat-paginator-container { display: flex; flex-flow: column; } .mat-row:hover { background: rgba(0, 0, 0, 0.04); cursor: pointer; } .footer-fix { position: absolute; bottom: 0; flex-direction: column; box-sizing: border-box; display: flex; border-top: 1px solid #dddddd; .btn-box { height: 50px; padding-bottom: 10px; width: 100%; background-color: #ffffff; button { margin: 5px; } } } .mat-paginator { .mat-paginator-container { justify-content: center; } .mat-paginator-navigation-first { order: 1; } .mat-paginator-navigation-previous { order: 2; } // override material paginator page switch .mat-paginator-range-label { order: 3; } .mat-paginator-navigation-next { order: 4; } .mat-paginator-navigation-last { order: 5; } } .mat-form-field-appearance-legacy { .mat-form-field-infix { padding: 6px; } }