Skip to content

Commit 1703d67

Browse files
committed
improvement on sidegrid style
1 parent a0984fc commit 1703d67

3 files changed

Lines changed: 19 additions & 8 deletions

File tree

web/client/themes/default/less/annotations.less

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@
7878
margin-right: 5px;
7979
}
8080

81-
82-
#mapstore-annotations-panel .mapstore-side-card:hover {
83-
.shadow;
84-
}
85-
8681
.mapstore-annotations-panel-cards {
8782
height: ~'calc(100% - 50px)';
8883
overflow: auto;
@@ -259,9 +254,8 @@
259254
}
260255

261256
.msSideGrid {
262-
height: ~'calc(100% - 161px)';
257+
height: ~'calc(100% - 171px)';
263258
overflow: auto;
264-
margin: 0 30px;
265259
.mapstore-side-preview {
266260
display: flex;
267261
& > span {

web/client/themes/default/less/geostory.less

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,23 @@
1313
}
1414

1515
.ms-geostory-builder {
16+
/*
17+
overrides for side grid
18+
TODO: this style need improvements, missing space between cards and scrollbar
19+
*/
20+
.msSideGrid {
21+
position: relative;
22+
/*
23+
we should not use bootstrap components inside our custom component
24+
in particular Row and Col because their behaviours rely on the screen page width
25+
*/
26+
.row {
27+
margin: 0;
28+
}
29+
.col-xs-12 {
30+
padding: 0;
31+
}
32+
}
1633
.ms-section {
1734
/*
1835
Preview card

web/client/themes/default/less/sidegrid.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.msSideGrid {
22
margin: 8px 16px;
33
width: ~"calc(100% - 32px)";
4-
position: relative;
4+
position: absolute;
55
.ms-drag-over {
66
margin-top: 8px;
77
padding: 4px;

0 commit comments

Comments
 (0)