Opportunities record view position of the action menu

In my Opportunities module record view the position of the action menu and sidebar toggle (and scrolls when applicable) are floating to the left right next to the Favorites star instead of staying on the far right like other modules.

I don't have a custom hbs, or css, or anything else I can find that would justify this behavior. I checked each element of the record.php against the stock and the Accounts module shown here, there is no difference in structure or basic definitions (of course there are panel differences and a couple of custom action items)

I just spent the past couple of hours going down a rabbit hole with Claude.AI and my head is spinning... going down a very deep hole that I am not comfortable in to be totally honest.

I've been down these holes before and they are often the consequence of some misguided interpretation/hallucination by me or the AI... and the answer was FAR simpler than the hole I dove into...

This is Claude's summary:

To summarize where we've landed:

The root cause appears to be that the table-cell-wrapper on the name field in Opportunities only has a max-width set by JavaScript, but no min-width or flex-grow to force it to fill available space. So short names shrink the cell and leave the buttons stranded, while long names accidentally fill enough space to push the buttons right.

When you come back, the next step is checking whether min-width is present on the table-cell-wrapper in Accounts but missing in Opportunities — that asymmetry would be the final smoking gun.

So before I dig myself all the way to Wonderland like Alice, and end up having Tea with a Mad Hatter.... any thoughts on why this particular module is behaving this way?

Thanks,

FrancescaS

Parents
  • I had a similar issue a couple of times after upgrades. It was caused by the last recordcell in headerpane having `display: none` 

    so this rule was not being applied:

    .headerpane h1 > .record-cell:last-of-type {
      margin-right: auto;
    }


    If this is the case for you also it can be fixed by simply moving the hidden recorcell "in front of" some other recordcell that doesn't have the display none property in your custom record.php for opportunities - under panel_header, fields if I remember correctly. Though if you don't have a custom record.php it might be something else. 

  • Fabulous! Thank you  that was it!

    We don't use escalations, commenting out the is_escalated field in my Record View (record.php) fixed it!

    Reported to Sugar Support in Case #577808

    FrancescaS

Reply Children
No Data