Live location share - tiles without tile server (PSG-591) (#8962)
* live location without map POC * styles * force map tiles to show no map for test build * check latestlocationstate exists * just use loading style map fallback when cant display map * style map error for tile view * set pointer cursor when map error is clickable * test mbeaconbody with map display error, lint * lint more good * remove changes for first attempt tile * make maperror test id more accurate * fussy import ordering * PR tweaks
This commit is contained in:
parent
e65409861a
commit
60faf6d025
12 changed files with 430 additions and 211 deletions
|
@ -24,6 +24,29 @@ limitations under the License.
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mx_MBeaconBody.mx_MBeaconBody_withoutMap {
|
||||
height: auto;
|
||||
|
||||
.mx_MBeaconBody_chin {
|
||||
position: relative;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_MBeaconBody_withoutMapContent {
|
||||
background-color: $panels;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.mx_MBeaconBody_withoutMapInfoLastUpdated {
|
||||
// 48px lines up with icon in BeaconStatus
|
||||
margin-top: -$spacing-8;
|
||||
padding: 0 $spacing-8 $spacing-8 48px;
|
||||
|
||||
color: $tertiary-content;
|
||||
font-size: $font-10px;
|
||||
}
|
||||
|
||||
.mx_MBeaconBody_map {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
@ -32,11 +55,18 @@ limitations under the License.
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mx_MBeaconBody_mapFallback {
|
||||
.mx_MBeaconBody_mapFallback,
|
||||
.mx_MBeaconBody_mapError {
|
||||
// pushes spinner/icon up
|
||||
// to appear more centered with the footer
|
||||
padding-bottom: 50px;
|
||||
padding-bottom: 50px !important;
|
||||
}
|
||||
|
||||
.mx_MBeaconBody_mapErrorInteractive {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mx_MBeaconBody_mapFallback {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue