Rocket.chat: Small size logo

Created on 1 May 2019  路  11Comments  路  Source: RocketChat/Rocket.Chat

Description:

After updating the server to version 1.0.2, the size of the logo has decreased.
In Layout - Custom CSS I have

: root {
聽聽聽 --sidebar-footer-height: 90px;
}

but nothing changes

Expected behavior:

234141224124124

Actual behavior:

Screenshot_7

Server Setup Information:

  • Version of Rocket.Chat Server: 1.0.2
  • Operating System: Ubuntu 16.04 64bit
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 8.11.4
  • MongoDB Version: 4.0.9

Additional context

uux

Most helpful comment

.sidebar__footer:not(:empty) {
    margin-left: auto;
    margin-right: auto;
    padding: 0px 22px;
}

Works fine for me, put in layout->custom CSS

All 11 comments

Its small only in rocket chat client or in browser too?

in client and browser

Same here, after update to 1.0.2 :-1:

Any news here? Maybe just share a small CSS snippet you could use to make it bigger?

in the footer section here, eg:
https://your.rocket.chat/admin/Layout

Still an issue
image

Version: 3.2.1

Desktop client and electron aren't mutually exclusive as they use the same code.

Any news here? Maybe just share a small CSS snippet you could use to make it bigger?

Add these sort of things in layout custom CSS - I think you can add height & width to the sidebar__footer

.side-nav .footer img {
content:url("/assets/logo.png");
}

.sidebar__footer:not(:empty) {
    margin-left: auto;
    margin-right: auto;
}

(There may be a better place so YMMV - use a browser inspector to look and test)

Still an issue
image

Yo dude ;-)

That's OK, unless you have say a square logo, or one that is vertically taller than wide. I do think there needs to be more flexibility here. Rocket does not really consider corporate branding by default.

I think the only thing you can do is have some admin settings that allow people to properly dictate size and position of their logo.

Left/right/centre justify, width, height, lock/unlock ratio.

image

@reetp worked okay-ish

.side-nav .footer img {
content:url("/assets/logo.png");
  object-fit: cover;
}

.sidebar__footer:not(:empty) {
    margin-left: auto;
    margin-right: auto;
}

https://github.com/RocketChat/Rocket.Chat/issues/16418#issuecomment-595450861

this is a case of taste and our designer has aligned the logo to the left on purpose.

Users can change the logo aliment using the custom CSS setting on the admin if they prefer.

:)

.sidebar__footer:not(:empty) {
    margin-left: auto;
    margin-right: auto;
    padding: 0px 22px;
}

Works fine for me, put in layout->custom CSS

Was this page helpful?
0 / 5 - 0 ratings

Related issues

engelgabriel picture engelgabriel  路  3Comments

sta-szek picture sta-szek  路  3Comments

mddvul22 picture mddvul22  路  3Comments

Buzzele picture Buzzele  路  3Comments

tanc picture tanc  路  3Comments