Commit graph

6205 commits

Author SHA1 Message Date
Anton Khorev
7702035963 Remove unnecessary appendTo() that is undone by append() right away 2022-09-17 09:14:46 +03:00
Anton Khorev
e60282da09 Remove share-tabs css class 2022-09-17 08:47:22 +03:00
Anton Khorev
79c524832e Use button group for share tabs 2022-09-17 08:34:53 +03:00
Tom Hughes
5eb09448c5 Merge remote-tracking branch 'upstream/pull/3689' 2022-09-14 18:24:14 +01:00
Andy Allan
48ed305163
Merge pull request #3678 from AntonKhorev/close-button-margins
Remove top margins from close buttons
2022-09-14 17:48:41 +01:00
Andy Allan
4d1f83d6bb Use bootstrap breakpoint mixin
This has the same end result, but is more clear than an arbitrary
pixel number.
2022-09-14 17:32:43 +01:00
Andy Allan
a3474de4d8 Use bootstrap utility classes for showing the new user arm
The original value was close to the 'lg' breakpoint, but the 'md'
breakpoint is fine for this too.
2022-09-14 17:32:43 +01:00
Andy Allan
5ab682dbbd Combine small.scss into common.scss
We've moved away from the idea of having extra rules for small screens,
and instead follow the bootstrap convention of designing for small
screens first and overriding those rules if needed for larger screens.

Having a separate file remaining for a limited number of small screen
rules is therefore counter-productive. Moving the remaining rules into
common.scss, adjacent to the related rules for larger screen, makes
the behaviour easier to understand, as well as making it easier to
refactor the rules to a small-screen-first approach.
2022-09-14 17:32:43 +01:00
Tom Hughes
35392c1a2f Merge remote-tracking branch 'upstream/pull/3680' 2022-09-13 19:19:12 +01:00
Anton Khorev
cb438ac3f6 Use https in 'report a problem' link of embedded map 2022-09-13 01:18:48 +03:00
Tom Hughes
9cd96bd452 Fix new rubocop warnings 2022-09-09 22:45:58 +01:00
Tom Hughes
7df4a7f8a3 Fix background colour for badges on GPS traces
Fixes #3681
2022-09-09 11:01:20 +01:00
Anton Khorev
1fc2a70c17 Rewrite bbox only in place history atom links 2022-09-07 22:13:57 +03:00
Tom Hughes
fa93526f76 Use nominatim_url setting more consistently 2022-09-07 08:45:27 +01:00
Anton Khorev
fb75f447d7 Remove top margins from close buttons 2022-09-02 17:02:46 +03:00
Anton Khorev
78b4ff4a29 Simplify css for text selection with stretched link 2022-09-02 16:22:54 +03:00
Anton Khorev
a0f52e8b4f Make changeset id also a link so it can be displayed over the stretched link and be text-selectable 2022-09-02 16:13:52 +03:00
Anton Khorev
f1cf1be64a Put span inside stretched link to improve text selection 2022-09-02 16:03:52 +03:00
Anton Khorev
5da7215873 Stretch changeset links in history lists 2022-09-01 22:45:09 +03:00
Andy Allan
bf11e06e63
Merge pull request #3672 from AntonKhorev/geolink-button
Remove geolink and close button nesting
2022-09-01 09:17:11 +01:00
Grant Slater
7d2206393b
Add Link and text for the new community forum 2022-08-31 23:12:12 +01:00
Anton Khorev
351a785949 Remove geolink and close button nesting 2022-09-01 00:42:50 +03:00
Tom Hughes
b36df9286a Merge remote-tracking branch 'upstream/pull/3668' 2022-08-31 17:44:48 +01:00
Andy Allan
04ff7d4ee8
Merge pull request #3666 from AntonKhorev/flex-close-buttons
Position close buttons with flexbox
2022-08-31 15:04:45 +01:00
Andy Allan
f6dd80e87d Use named arguments for button-variant mixins
This is much clearer than relying on positional arguments, and is
also required for future upgrades to bootstrap.
2022-08-31 14:42:03 +01:00
Anton Khorev
2da8855cc2 Fix eslint errors 2022-08-28 00:53:53 +03:00
Anton Khorev
f41b5558b7 Position directions close button with flex 2022-08-28 00:32:50 +03:00
Anton Khorev
5a256a6f2b Position 'too many features' close button with flex 2022-08-27 23:50:23 +03:00
Anton Khorev
41924fb69e Remove unnecessary float from flex-positioned close button 2022-08-27 23:20:36 +03:00
Anton Khorev
4ef55ac3aa Position Leaflet sidebar close buttons with flex 2022-08-27 23:15:04 +03:00
Anton Khorev
9acde429bf Inverted onAdd() method of sidebar panes 2022-08-27 22:55:19 +03:00
Anton Khorev
71e7208a0a Create pane button fn 2022-08-27 20:54:37 +03:00
Anton Khorev
8a02bd67d9 Create Leaflet sidebar pane control with header writer fn 2022-08-27 20:33:44 +03:00
Anton Khorev
8d9ec26421 Fix reverse directions button closing tag 2022-08-27 19:24:54 +03:00
Tom Hughes
cd5b793dca Redirect to open issues when an issue is reassigned 2022-08-26 13:49:09 +01:00
Tom Hughes
bd973a41f9 Merge remote-tracking branch 'upstream/pull/3661' 2022-08-24 17:11:11 +01:00
Andy Allan
a0d0dee886 Return to issue index if you can't view reassigned issue
Fixes #3652
2022-08-24 14:05:19 +01:00
Kiel Hurley
778f6a8e36
Correct name in graphhopper.js
When using directions, the footer says "Directions courtesy of Graphhopper"
2022-08-17 13:19:25 +12:00
Tom Hughes
d3388abe51 Merge remote-tracking branch 'upstream/pull/3649' 2022-08-03 20:37:56 +01:00
Andy Allan
a9a00acf68 Fix italic font styles
This was missed during the bootstrap 5 upgrade
2022-08-03 19:49:46 +01:00
Andy Allan
f16d497703 Remove the user menu focus overrides
This restores the outline effect when the button is focussed using
keyboard navigation.

Refs #3633
2022-08-03 18:59:32 +01:00
Tom Hughes
7e5d47e6a8 Merge remote-tracking branch 'upstream/pull/3644' 2022-08-03 18:45:47 +01:00
Tom Hughes
47e585f94f Merge remote-tracking branch 'upstream/pull/3646' 2022-08-03 18:45:15 +01:00
Andy Allan
9db0808870
Merge pull request #3581 from harry-wood/discourage-note-report
Wording to discourage note reporting
2022-08-03 18:38:36 +01:00
Andy Allan
c185ef2598 Use standard bootstrap spacers, rather than custom css, to space out the elements
Also make the reporting text small, since it's not required reading in most circumstances.
2022-08-03 18:25:22 +01:00
Harry Wood
7eae946b9a Move note reporting link to bottom of the sidebar
Move the 'report this note' and surrounding sentence down the sidebar beneath the commont/resolve form to give it less prominence.
2022-08-03 18:11:01 +01:00
Harry Wood
dce0f1639e Add wording to discourage reporting a note
Add some wording wrapped around the 'Report this note' link to explain to users to resolve the note instead.

Tackling the issue reported by DWG, that too many note reports are coming to them, where the users could deal it themselves: https://github.com/openstreetmap/openstreetmap-website/issues/3071
2022-08-03 18:10:03 +01:00
Andy Allan
e443ec7587
Merge pull request #3634 from AntonKhorev/map-key-tooltip
Fix tooltips
2022-08-03 15:38:58 +01:00
Andy Allan
68776e378c Fix remaining tooltips, and add tests
These were broken during the upgrade to bootstrap 5

Fixes #3632
2022-08-03 15:20:50 +01:00
Andy Allan
d235b12767 Enable focus styling for leaflet control buttons
Fixes #3633
2022-08-03 14:58:40 +01:00