]> git.openstreetmap.org Git - rails.git/commit
Use flexbox to position the close icon on the sidebars
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 15 Oct 2020 14:25:33 +0000 (16:25 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 21 Oct 2020 15:11:28 +0000 (17:11 +0200)
commitc233bec67b8e99ce5b476436181f9df6ca888814
treee6e23f0d518b697c38de6aeafc63b153d4b67555
parent9b19a45e74abd4414bb79d6b992f7bec14390ad6
Use flexbox to position the close icon on the sidebars

This ensures that the text and the close icon don't overlap, regardless
of the length of the title. The title div grows to use all available
space, while ensuring the text breaks if necessary to prevent it from
pushing the close icon offscreen.
14 files changed:
app/views/application/_sidebar_header.html.erb [new file with mode: 0644]
app/views/browse/changeset.html.erb
app/views/browse/feature.html.erb
app/views/browse/history.html.erb
app/views/browse/new_note.html.erb
app/views/browse/not_found.html.erb
app/views/browse/note.html.erb
app/views/browse/query.html.erb
app/views/browse/timeout.html.erb
app/views/changesets/history.html.erb
app/views/geocoder/search.html.erb
app/views/layouts/map.html.erb
app/views/site/export.html.erb
config/locales/en.yml