Skip to content

Commit b71cbd1

Browse files
committed
lint wip
1 parent 14c6cab commit b71cbd1

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

src/dev-app/column-resize/column-resize-home.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {Component} from '@angular/core';
1212
@Component({
1313
moduleId: module.id,
1414
templateUrl: 'column-resize-home.html',
15-
styleUrls: ['column-resize.css'],
1615
})
1716
export class ColumnResizeHome {
1817
}

src/dev-app/column-resize/column-resize.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/material-experimental/column-resize/_column-resize.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
@import '../../material/core/style/variables';
2+
@import '../../material/core/style/vendor-prefixes';
23
@import '../../material/core/theming/palette';
34
@import '../../material/core/theming/theming';
45

56
@mixin mat-column-resize-theme($theme) {
67
$primary: map-get($theme, primary);
78
$foreground: map-get($theme, foreground);
8-
9+
910
$non-resizable-hover-divider: mat-color($foreground, divider);
1011
$resizable-hover-divider: mat-color($primary, 200);
1112
$resizable-active-divider: mat-color($primary, 500);
12-
13+
1314
// Required for resizing to work properly.
1415
table.with-resized-column {
1516
table-layout: fixed;
1617
}
17-
18+
1819
.mat-header-cell {
1920
position: relative;
2021
}
@@ -70,7 +71,7 @@
7071
cursor: col-resize;
7172
height: 100%;
7273
transition: background $swift-ease-in-duration $swift-ease-in-timing-function;
73-
user-select: none;
74+
@include user-select(none);
7475
width: 100%;
7576

7677
&:active {

0 commit comments

Comments
 (0)