Skip to content

Commit 0e9f066

Browse files
authored
Modify tiles' spans for Tile Manager (#3855)
* fix(tilemanager): modify the tiles span; Мake Order Info content scrollable
1 parent 59ef17d commit 0e9f066

2 files changed

Lines changed: 59 additions & 44 deletions

File tree

src/app/layouts/tile-manager/tile-manager-sample/tile-manager.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<igc-tile-manager id="tile-manager1" column-count="3" gap="20px" resize-mode="hover" drag-mode="tile-header">
2-
<igc-tile row-span="3">
2+
<igc-tile row-span="2" class="order-info">
33
<span slot="title">Order info</span>
44
<igx-list>
55
<igx-list-item>
@@ -143,7 +143,7 @@ <h3 igxCardHeaderTitle>Carnavon Tigers</h3>
143143
</div>
144144
</div>
145145
</igc-tile>
146-
<igc-tile >
146+
<igc-tile col-span="2">
147147
<span slot="title">Order Value</span>
148148
<div class="string">
149149
<h3>$8.66K</h3>
Lines changed: 57 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,58 @@
11
igc-tile-manager {
2-
margin-bottom: 5px;
3-
}
4-
5-
.group {
6-
display: flex;
7-
flex-direction: row;
8-
flex-wrap: wrap;
9-
margin-top: 15px;
10-
}
11-
12-
.card {
13-
min-height: 30px;
14-
min-width: 250px;
15-
max-width: 320px;
16-
margin: 0 15px 15px 15px
17-
}
18-
19-
igx-card-content {
20-
color: var(--content-text-color);
21-
}
22-
23-
.body-content {
24-
width: 100%;
25-
display: flex;
26-
flex-direction: row;
27-
justify-content: space-between;
28-
align-items: center;
29-
}
30-
31-
.string {
32-
text-align: center;
33-
margin-top: 50px;
34-
color: var(--ig-gray-800);
35-
}
36-
37-
.sample {
38-
overflow: auto;
39-
}
40-
.content {
41-
display: flex;
42-
justify-content: space-between;
43-
}
2+
margin-bottom: 5px;
3+
}
4+
5+
.group {
6+
display: flex;
7+
flex-direction: row;
8+
flex-wrap: wrap;
9+
margin-top: 15px;
10+
}
11+
12+
.card {
13+
min-height: 30px;
14+
min-width: 250px;
15+
max-width: 320px;
16+
margin: 0 15px 15px 15px
17+
}
18+
19+
igx-card-content {
20+
color: var(--content-text-color);
21+
}
22+
23+
.body-content {
24+
width: 100%;
25+
display: flex;
26+
flex-direction: row;
27+
justify-content: space-between;
28+
align-items: center;
29+
}
30+
31+
.string {
32+
text-align: center;
33+
margin-top: 50px;
34+
color: var(--ig-gray-800);
35+
}
36+
37+
.sample {
38+
overflow: auto;
39+
}
40+
41+
.content {
42+
display: flex;
43+
justify-content: space-between;
44+
}
45+
46+
.order-info::part(base) {
47+
display: flex;
48+
flex-direction: column;
49+
}
50+
51+
.order-info::part(content-container) {
52+
flex: 1;
53+
min-height: 0;
54+
display: flex;
55+
flex-direction: column;
56+
box-sizing: border-box;
57+
overflow: hidden;
58+
}

0 commit comments

Comments
 (0)