mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
feat(country-brief): add native browser share button to small & large briefs (#854)
Add Web Share API button to both CountryDeepDivePanel (small brief) and CountryBriefPage (large brief). Falls back to clipboard copy with a checkmark flash when navigator.share is unavailable. Shares the deep link URL (?c=CODE) with the country name as title.
This commit is contained in:
@@ -15643,6 +15643,7 @@ body.has-breaking-alert .panels-grid {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.cb-link-share-btn,
|
||||
.cb-share-btn,
|
||||
.cb-print-btn,
|
||||
.cb-export-btn {
|
||||
@@ -15657,6 +15658,7 @@ body.has-breaking-alert .panels-grid {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cb-link-share-btn:hover,
|
||||
.cb-share-btn:hover,
|
||||
.cb-print-btn:hover,
|
||||
.cb-export-btn:hover {
|
||||
@@ -16090,6 +16092,7 @@ body.has-breaking-alert .panels-grid {
|
||||
}
|
||||
|
||||
.cb-close,
|
||||
.cb-link-share-btn,
|
||||
.cb-share-btn,
|
||||
.cb-print-btn,
|
||||
.cb-export-btn,
|
||||
|
||||
Reference in New Issue
Block a user