[openstreetmap/openstreetmap-website] Add button styles to edit-diary-entry-button (#3019)

Tobias notifications at github.com
Sun Dec 27 13:46:04 UTC 2020


This adds a button style and also a bit of spacing.

Before:

![Bildschirmfoto 2020-12-27 um 14 26 21 Kopie](https://user-images.githubusercontent.com/111561/103172182-f0891a80-4851-11eb-8cba-b22bec0b0cd6.jpg)


After:

![Bildschirmfoto 2020-12-27 um 14 26 11 Kopie](https://user-images.githubusercontent.com/111561/103172184-f7179200-4851-11eb-9401-0e736b997884.jpg)

Disclaimer: I did not run the code since my setup is not operational ATM.

The style looks different from the comments-buttons (example https://www.openstreetmap.org/user/tordans/diary/395215) but it uses the default bootstrap style so I guess we are moving everything to this style step by step, right?

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3019

-- Commit Summary --

  * Add button styles to edit-diary-entry-button

-- File Changes --

    M app/views/diary_entries/_diary_entry.html.erb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3019.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3019.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201227/2face389/attachment.htm>


More information about the rails-dev mailing list