Live location sharing - open location in OpenStreetMap (PSF-1040) (#8695)
* share plain lat,lon string from beacon tooltip and list item Signed-off-by: Kerry Archibald <kerrya@element.io> * export makeMapSiteLink helper fn Signed-off-by: Kerry Archibald <kerrya@element.io> * use currentColor in external-link.svg Signed-off-by: Kerry Archibald <kerrya@element.io> * add open in openstreetmap link Signed-off-by: Kerry Archibald <kerrya@element.io> * fussy import ordering Signed-off-by: Kerry Archibald <kerrya@element.io> * fix icon color var Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
@@ -21,11 +21,6 @@ limitations under the License.
|
||||
height: 38px;
|
||||
box-sizing: content-box;
|
||||
padding-top: $spacing-8;
|
||||
|
||||
// override copyable text style to make compact
|
||||
.mx_CopyableText_copyButton {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_BeaconStatusTooltip_inner {
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
Copyright 2022 The Matrix.org Foundation C.I.C.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_ShareLatestLocation_icon {
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
color: $secondary-content;
|
||||
}
|
||||
|
||||
.mx_ShareLatestLocation_copy {
|
||||
// override copyable text style to make compact
|
||||
.mx_CopyableText_copyButton {
|
||||
margin-left: $spacing-8 !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user