Sam's Simple Theme

82328 views 368 replies Created 2014-12-31 03:20

How can you make avatars square in mobile view?

You can add the following CSS in a new theme component:

img.avatar {
  border-radius: 3px;
}

image
image

When the username is long, the image is distorted. How can we find a solution to this?

Adjustment button in frame not visible
trrr

I have just updated this on my self hosted and noticed the same
The image is a blank white space with no visible content or objects. (Captioned by AI)

very helpful!@_@

Can also confirm the latest update does not contain appropriate theme translations.

Thanks for the reports, @Jaypes and @scog. A fix was merged earlier and I’ve just updated the theme. Looks like it worked!

I can confirm this has been fixed in the latest update. Many thanks!

The latest update seems to have caused a lot of clutter on mobile.
I don’t believe I have any components which would cause this to happen.

Anyone else encounter the same?

Same here. As I remember, the theme was not applied to the mobile version.

Thanks for reporting it, this should be fixed now if you update again.

Awesome - thank you very much!

Hi there, with the upgrade to 3.4.0 unfortunately Sam’s Simple Theme is a bit of a mess:

Is moving the op-data to the top an intentional change? It seemed much more compact and space-efficient the way it was before.

I should also just mention that I am very thankful for Sam’s Simple Theme. When I migrated my large forum to Discourse my users absolutely hated the default Discourse theme, but they found Sam’s Simple Theme layout much more acceptable, so thanks for creating and maintaining it, it’s a key component for me to make Discourse viable.

Thanks for the feedback! I’ve adjusted this to put the metadata on the same line again and fixed the icon wrapping issues

Awesome @awesomerobot , thanks so much!
I don’t suppose there’s any way the fix could be backported to the stable branch? I would just apply your CSS changes to a custom theme component, but I see that there are also changes to original-post-date.gjs .

I don’t quite understand why I’m not getting the updated version from the main branch of GitHub - discourse/discourse-simple-theme: Sam's simple discourse theme. The theme updater hasn’t found any new versions and I still have the layout issue.

Check, I’m on Discourse v3.4.0 +4

Is it a dependency issue?

Versions less than 3.5.0.beta1-dev are pinned to a previous commit, because commits after it are incompatible with previous versions. So unfortunately you won’t get new commits until you update Discourse.