adam-c

joined 4 years ago
[–] adam-c@community.nodebb.org 1 points 1 week ago

Nice! I also noticed some additional fixes to the buttons. :+1:

[–] adam-c@community.nodebb.org 2 points 1 week ago (1 children)

Thanks! baris I’m guessing you either have the left/right navigation collapsed, or you’re on a very large monitor. I realized the parent of the save button adjusts its width based on the viewport, so when the nav is open (on the relative small screen), the save button gets pushed off the visible area. There's an "open" class on the nav when it’s expanded, but unfortunately, that can’t be used to control this container’s width. I moved the save button to the center to fix the issue.

Please let me know if you have a better idea.

Here’s what it looks like: Editing-adam-Swim-Community-06-25-2025_03_10_PM.png

Here’s the code change:

***
/node_modules/nodebb-theme-harmony/scss/modules/cover.scss  2025-06-13 09:35:35
+++ cover.scss          2025-06-25 15:21:27
@@ -56,8 +56,9 @@
     .save, .indicator {
         display: inline-block;
         position: absolute;
-        top: 1em;
-        right: 2em;
+        bottom: 1em;
+        left: 50%;
+        transform: translateX(-50%);
         opacity: 1;
         padding: 0.5em;
         font-weight: bold;
```</div>

![](https://community.nodebb.org/assets/uploads//files/1750880732629-editing-adam-swim-community-06-25-2025_03_10_pm.png)
[–] adam-c@community.nodebb.org 1 points 1 week ago

I’m using a customized Harmony theme, but I haven’t made any changes to the profile template. I’m on Chrome as well. Where is the “Save” button supposed to be? It’s not the same one used to save profile changes (see screenshot below), right? That one doesn’t work for me either. Here is the site in case you want to test it out: https://community.swimstandards.com/ Thanks!

image.png

 

Strange, I don’t see a “Save” button after repositioning the cover image. Maybe it’s related to the theme?

adam-Swim-Community-06-25-2025_08_55_AM.png