[2.x] Center the load-more button in PostList, consistently with DiscussionList
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 75/100
Research direction
Find the profile PostList styles and compare .PostList-loadMore with .DiscussionList-loadMore, which the issue names as the alignment reference. Check the profile with multiple pages of posts and confirm the load-more control is centered after the change.
Written by the indexing model from the issue text.
Description
Current Behavior
Located by me and analyzed together with an agent. This is reproducable on discuss.flarum.org
Anything from here was written by AI
the profile posts button aligns to the left edge. The .PostList-loadMore wrapper has no alignment rule, so its inline-flex button uses the inherited start alignment.
Steps to Reproduce
- Open a profile with more than one page of posts, for example https://discuss.flarum.org/u/luceos.
- Scroll to the bottom of the initially loaded posts.
- Compare the load-more button with the centered button on a discussion list.
Expected Behavior
center the load-more control, consistently with .DiscussionList-loadMore.
Screenshots
No response
Environment
- Flarum version: 2.0.1
- Website URL: https://forum.monika.love (already patched on my instance)
- Webserver: nginx
- Hosting environment: local server
- PHP version: 8.3.31
- Database: MySQL 8.4.11
- Browser: chrome any
Output of php flarum info
Flarum core: 2.0.1
PHP version: CLI: 8.3.31, Web: 8.2.31 (MISMATCH - versions should match!)
PHP memory limit: CLI: 1024M, Web: unable to detect
MySQL version: 8.4.11
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, random, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvsem, tokenizer, xml, xmlreader, xmlwriter, cgi-fcgi, zip, fileinfo, exif, gmp, Zend OPcache
+----------------------------------------+--------------------+--------+-------+
| Flarum Extensions | | | |
+----------------------------------------+--------------------+--------+-------+
| ID | Version | Commit | Notes |
+----------------------------------------+--------------------+--------+-------+
| flarum-realtime | v2.0.1 | | |
| flarum-audit | v2.0.1 | | |
| flarum-deck | v2.0.1 | | |
| flarum-suspend | v2.0.1 | | |
| flarum-flags | v2.0.1 | | |
| flarum-tags | v2.0.1 | | |
| fof-user-directory | 2.0.1 | | |
| fof-pages | 2.0.0-beta.2 | | |
| flarum-approval | v2.0.1 | | |
| askvortsov-auto-moderator | 0.1.3+copy2 | | |
| flarum-likes | v2.0.1 | | |
| flarum-sticky | v2.0.1 | | |
| fof-merge-discussions | 2.0.0-beta.4 | | |
| fof-forum-widgets-core | 2.0.2 | | |
| flarum-nicknames | v2.0.1 | | |
| fof-best-answer | 2.0.0 | | |
| fof-upload | 2.0.1+site21.3 | | |
| fof-sitemap | 3.0.0-beta.6 | | |
| flarum-markdown | v2.0.1 | | |
| flamarkt-backoffice | 0.1.3+copy2 | | |
| flarum-mentions | v2.0.1 | | |
| flarum-subscriptions | v2.0.1 | | |
| antoinefr-money | v2.0.0-rc.1 | | |
| zequeen-acgembed-remastered | 1.1.2+copy2 | | |
| v17development-user-badges | 1.1.0+copy2 | | |
| the-turk-stickiest | 3.0.1+copy2 | | |
| pipecraft-id-slug | 1.1.0+copy2 | | |
| nyu8-email-filter | 1.0.7+copy2 | | |
| nearata-embed-video | 3.3.2+copy2 | | |
| michaelbelgium-discussion-views | 8.0.0+copy2 | | |
| justoverclock-staff-members-widget | 0.1.3+copy2 | | |
| justoverclock-guestengagement | 1.0.3+copy2 | | |
| imeepo-daily-check-in | 1.1.0+copy2 | | |
| ianm-syndication | 2.0.0-beta.1 | | |
| ianm-html-head | 2.0.0 | | |
| forumaker-profile-cover | 2.8.0 | | |
| fof-username-request | 2.0.0 | | |
| fof-user-bio | 2.0.0 | | |
| fof-terms | 2.0.0 | | |
| fof-synopsis | 2.0.0-rc.2+copy2 | | |
| fof-split | 2.0.0-beta.4 | | |
| fof-seo | 4.0.0-beta.14 | | |
| fof-rich-text | 2.0.0-beta.6+copy2 | | |
| fof-pwa | 2.0.0+site21.3 | | |
| fof-profile-image-crop | 2.0.0-rc.1 | | |
| fof-prevent-necrobumping | 2.0.0-beta.1 | | |
| fof-polls | 3.0.0+site21.3 | | |
| fof-online-users-widget | 2.0.0 | | |
| fof-news-widget | 2.0.0 | | |
| fof-moderator-warnings | 2.0.0-rc.3+copy2 | | |
| fof-links | 2.0.0-rc.3 | | |
| fof-linguist | 2.0.0-beta.1 | | |
| fof-impersonate | 2.0.0-beta.4 | | |
| fof-html-errors | 2.0.0-beta.1 | | |
| fof-forum-stats-widget | 2.0.0-beta.2 | | |
| fof-formatting | 2.0.0-beta.2 | | |
| fof-follow-tags | 2.0.0-beta.7 | | |
| fof-drafts | 2.0.0+site21.3 | | |
| fof-doorman | 3.0.0 | | |
| fof-direct-links | 2.0.0-beta.1 | | |
| fof-ban-ips | 2.0.0-beta.2 | | |
| fof-anti-spam | 2.0.0-rc.6 | | |
| flarum-statistics | v2.0.1 | | |
| flarum-lock | v2.0.1 | | |
| flarum-lang-english | v2.0.0 | | |
| flarum-lang-chinese-simplified | 2.0.0+site21.3 | | |
| flarum-emoji | v2.0.1 | | |
| flarum-bbcode | v2.0.1 | | |
| ekumanov-post-search | 1.1.0+site21 | | |
| ekumanov-inline-audio | 2.10.4+site21.3 | | |
| edgeinfinity-dcc-customizations | 1.0.0+copy2 | | |
| edgeinfinity-auto-lang | 1.0.0+copy2 | | |
| ecnu-im-sticky-sidenav | 1.1.0+copy2 | | |
| club-1-cross-references | 1.1.1+copy2 | | |
| club-1-chore-commands | 1.0.0+copy2 | | |
| clarkwinkelmann-prominent-post-numbers | 2.0.0+site21.3 | | |
| clarkwinkelmann-money-rewards | 1.0.0+copy2 | | |
| blomstra-sort-order-toggle | 0.2.0+copy2 | | |
| blomstra-search | 2.0.0-rc.8+copy2 | | |
| askvortsov-markdown-tables | 1.2.1+copy2 | | |
| acpl-mobile-tab | 2.0.1 | | |
+----------------------------------------+--------------------+--------+-------+
Base URL: https://forum.monika.love
Installation path: /www/wwwroot/192.168.5.132/public
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: 运行中
Mail driver: smtp
Debug mode: off
Possible Solution
No response
Additional Context
No response
- Dominant language
- PHP
- Stars
- 6.8k
- Forks
- 887
- Avg merge
- 12h 6m
- Merged PRs (30d)
- 127
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flarum/framework
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Admin search ignores a settings or permissions item's own linkPossibly taken A pull request linked to this issue is open or already merged. Opentype/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
type/extensibility
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
All issues in flarum/framework
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
verbb/formie#3022 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/blocks-engine#3090 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
macOS
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
beyondcode/herd-community#1771 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100