File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -634,10 +634,6 @@ button.mapml-button:disabled,
634634 justify-content : center;
635635}
636636
637- .mapml-layer-item-properties label {
638- text-indent : 5px ;
639- }
640-
641637
642638.mapml-layer-item-remove-control ,
643639.mapml-layer-item-settings-control {
@@ -648,9 +644,15 @@ button.mapml-button:disabled,
648644}
649645
650646.mapml-layer-item-toggle {
647+ display : inline-flex !important ;
651648 width : 100% ;
652649}
653650
651+ .mapml-layer-item-name {
652+ word-break : break-word;
653+ text-align : left;
654+ }
655+
654656.mapml-layer-item-settings > * {
655657 display : block;
656658 padding-block-start : .25rem ;
Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ export var MapMLLayer = L.Layer.extend({
554554 legendLink . draggable = false ;
555555 layerItemName . appendChild ( legendLink ) ;
556556 } else {
557- layerItemName . innerHTML = ' ' + this . _title ;
557+ layerItemName . innerHTML = this . _title ;
558558 }
559559 layerItemName . id = this . _title ;
560560 opacityControlSummary . innerText = 'Opacity' ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ jest.setTimeout(30000);
7575
7676 expect ( controlText . toLowerCase ( ) ) . toContain ( domLayer . toLowerCase ( ) ) ;
7777 expect ( layerIndex ) . toEqual ( "2" ) ;
78- expect ( controlText ) . toBe ( " Canada Base Map - Transportation (CBMT)" ) ;
78+ expect ( controlText ) . toBe ( "Canada Base Map - Transportation (CBMT)" ) ;
7979 } ) ;
8080
8181 test ( "[" + browserType + "]" + " Moving layer up one in control overlay" , async ( ) => {
@@ -103,7 +103,7 @@ jest.setTimeout(30000);
103103
104104 expect ( controlText . toLowerCase ( ) ) . toContain ( domLayer . toLowerCase ( ) ) ;
105105 expect ( layerIndex ) . toEqual ( "1" ) ;
106- expect ( controlText ) . toBe ( " Static MapML With Tiles" ) ;
106+ expect ( controlText ) . toBe ( "Static MapML With Tiles" ) ;
107107 } ) ;
108108
109109 } ) ;
You can’t perform that action at this time.
0 commit comments