Hide disabled buttons



Is there a way to hide in the message box the buttons that we disabled ? (such as, in my case, emojis, files, discussions, add server and emplacement)


Server Setup Information

  • Version of Rocket.Chat Server: 6.5.3
  • Operating System: Ubuntu
  • Deployment Method:
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.23 / wiredTiger
  • Proxy:
  • Firewalls involved:

I reply to myself since I found a solution: set the unwanted buttons CSS to display: none
To edit the CSS you have to go in Workspace > Settings > Layout > Custom CSS
And for example for the emoji button, you add the lines :

button:has(> i.rcx-icon--name-emoji) {
  display: none;