Skip to content

Commit b79f6f0

Browse files
committed
implement default map.apps scroll behavior (fixed button bar at the bottom and a scrollable container on top)
1 parent a1019ad commit b79f6f0

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/main/js/bundles/dn_labeling/LabelingWidget.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646
class="ct-labeling-widget__edit-close-section mr-2"
4747
icon
4848
small
49-
v-on="on"
5049
:aria-label="i18n.finishEditingAttributeLabel"
50+
v-on="on"
5151
@click="edit = !edit"
5252
>
53+
<!--TODO: maybe change Icon!-->
5354
<v-icon>close</v-icon>
5455
</v-btn>
5556
</template>

src/main/js/bundles/dn_labeling/css/styles.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
display: flex;
1818
flex-direction: column;
1919
height: 100%;
20+
justify-content: space-between;
2021

2122
.ct-labeling-widget__selections {
2223
display: flex;
2324
flex-direction: column;
24-
flex-grow: 1;
25+
flex: 1 1 auto;
26+
overflow: auto;
2527

2628
.v-select__selections {
2729
display: grid;
@@ -43,7 +45,7 @@
4345
.ct-labeling-widget__controls-div {
4446
display: flex;
4547
flex-direction: column;
46-
flex-shrink: 1;
48+
flex: 0 0 auto;
4749

4850
.circumference-switch {
4951
margin-top: 0;

0 commit comments

Comments
 (0)