1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app
Sasha Sorokin 14ca559705 Evenly spread space between tabs (#12944)
This commit fixes uneven spread of space between the tabs in profiles
or notifications (filters). The problem was that links and buttons
shown as blocks had their width determined according to the content
inside of them, so if one tab has more text content than another, it
is going to take over others space, which is uneven and results in
incorrectly aligned (?) tabs display.

By specifying the size of 100% for each tab, parent container will be
forced to divide available space by the number of elements and evenly
give each child fixed space, "text-align: center" then doing its best
job to keep tabs text centered in that space. This relatively fixes
the problem, but will introduce another one - when the block has more
content that its width allows to have, in this scenario the text should
be wrapped or will be displayed over the other elements, but I see this
more as translators' problem. Still, for this case "overflow: hidden"
is added and any unfitting text will be cut out.
2020-01-24 20:50:49 +01:00
..
chewy Fix needlessly indexing unsearchable statuses into ElasticSearch (#12041) 2019-10-02 20:04:46 +02:00
controllers Fix OEmbed leaking information about existence of non-public statuses (#12930) 2020-01-24 00:20:51 +01:00
helpers Add announcements (#12662) 2020-01-23 22:00:13 +01:00
javascript Evenly spread space between tabs (#12944) 2020-01-24 20:50:49 +01:00
lib Add announcements (#12662) 2020-01-23 22:00:13 +01:00
mailers Split AccountsHelper from StatusesHelper (#12078) 2019-10-24 22:50:09 +02:00
models Fix password change/reset not immediately invalidating other sessions (#12928) 2020-01-24 00:20:38 +01:00
policies Add announcements (#12662) 2020-01-23 22:00:13 +01:00
presenters Fix n+1 query for bookmarks on statuses (#12494) 2019-11-28 04:08:00 +01:00
serializers Add announcements (#12662) 2020-01-23 22:00:13 +01:00
services Fix invalid votes from the API being accepted (#12601) 2020-01-12 14:17:03 +01:00
validators Add announcements (#12662) 2020-01-23 22:00:13 +01:00
views Fix relationships page not showing results in admin UI (#12934) 2020-01-24 00:20:23 +01:00
workers Add announcements (#12662) 2020-01-23 22:00:13 +01:00