Justoverclock I've seen this happen before, but I can't remember the solution right now. I'll take a look as time allows 🙂

4 months later

1.0.6

1.1.0

This version requires flarum/core 1.2 or above

  • Recompile JS using webpack 5

No other changes

Updating
composer require flarumite/simple-discussion-views:"*"
php flarum cache:clear

I noticed a background color behind the view counter. I would like to know if this is normal?

Anyway, thanks for the update 🙂

  • IanM replied to this.

    bryx I noticed a background color behind the view counter

    Hmm, can you please share a screenshot of this?

      bryx ah, yes sorry about that, seems I didn't clear my cache properly locally when testing this 🙈

      I'll fix this now

      1.1.2

      • Fix background color of view count (should only display on mobile) bryx
      Updating
      composer require flarumite/simple-discussion-views:"*"
      php flarum cache:clear

      Is this a dumb idea for an alternative mobile layout? Tap the number of replies, then see views in a tooltip.

      I had views on my forum, then removed it because I like the mobile layout to be minimal. I don’t know. A thought.

      Edit: Never mind, forgot you tap there to mark post as read. Well then, you swipe to follow, in the same menu could be views? Probably not on the road map for this. This is meant to be a minimal views extension.

      12 days later
      • [deleted]

      • Edited

      How can I make view count inline with post number?

        • [deleted]

        luceos no, just fof/night mode

        IanM
        Flarum v1.2.0
        flarumite/simple-discussion-views v1.1.3

        • IanM replied to this.

          datlechin I just replicated the problem, only occurs on mobile view (for me at least). I'll look into it

          • [deleted]

          IanM

          Flarumite Simple Discussion Views 1.1.3
          Flarum v1.2.0

          2 months later
          2 months later

          How to align the view count perfectly?

          13 days later

          Scumi

          Try this following css code in admin - appearance -Custom Styles

            @media (max-width: 767.98px){
          .item-discussion-views {
          width: auto !important;
          right: 0;
          }
          }