Skip to content

Commit 5420377

Browse files
committed
chore(angular): small Angular demo UI fixes
1 parent 0b24c3a commit 5420377

4 files changed

Lines changed: 24 additions & 16 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// sort indication will show behind Grid Menu since we don't have scroll,
22
// we can offset these icons to fix that
3-
#grid23 {
4-
.slick-header-column:last-child {
5-
.slick-header-menu-button,
6-
.slick-resizable-handle,
7-
.slick-sort-indicator,
8-
.slick-sort-indicator-numbered {
9-
margin-right: 18px; // grid menu icon width
10-
}
3+
#grid21 {
4+
.slick-header-column:last-child {
5+
.slick-header-menu-button,
6+
.slick-resizable-handle,
7+
.slick-sort-indicator,
8+
.slick-sort-indicator-numbered {
9+
margin-right: 18px; // grid menu icon width
1110
}
11+
}
1212
}
1313

1414
.duration-bg {
15-
background-color: #e9d4f1 !important;
16-
}
15+
background-color: #e9d4f1 !important;
16+
}

frameworks/angular-slickgrid/src/demos/examples/example26.component.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ h3 {
1818
}
1919
}
2020

21+
.slick-headerrow-column ng-component,
22+
.ng-select {
23+
width: 100%;
24+
}
25+
2126
.ng-select-focused {
2227
box-shadow: 0 0 0 0.25rem #0d6efd40;
2328
}
@@ -39,4 +44,4 @@ h3 {
3944
.mdi-chevron-down {
4045
margin-left: 5px;
4146
}
42-
}
47+
}

frameworks/angular-slickgrid/src/demos/examples/example27.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* make sure to add the @use the SlickGrid Theme AFTER the variables changes */
22
// @use '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-material.lite.scss';
33

4-
#grid28 {
4+
#grid27 {
55
.slick-cell {
66
display: inline-flex;
77
align-items: center;

frameworks/angular-slickgrid/src/demos/examples/example28.component.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @use '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-salesforce.scss';
22

3-
#grid29 {
3+
#grid28 {
44
.slick-cell {
55
display: inline-flex;
66
align-items: center;
@@ -25,7 +25,8 @@
2525
opacity: 0.9;
2626
}
2727

28-
.mdi-folder, .mdi-folder-open {
28+
.mdi-folder,
29+
.mdi-folder-open {
2930
color: #ffa500;
3031
opacity: 0.9;
3132
}
@@ -34,7 +35,7 @@
3435
opacity: 0.9;
3536
}
3637
.mdi-file-excel-outline {
37-
color: #1E9F75;
38+
color: #1e9f75;
3839
opacity: 0.9;
3940
}
4041
.mdi-file-document-outline,
@@ -50,5 +51,7 @@
5051

5152
// create a few 15px indentation multiplied by level number
5253
@for $i from 1 through 6 {
53-
.width-#{$i*15}px { width: #{$i * 15}px; }
54+
.width-#{$i*15}px {
55+
width: #{$i * 15}px;
56+
}
5457
}

0 commit comments

Comments
 (0)