diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.23k stars 39 forks source link

Font size #150

Closed pagenstedt closed 5 months ago

pagenstedt commented 11 months ago

On my screen fonts are quite small. Would be great to have option for changing font size or scaling

rubiojr commented 5 months ago

Stolen from https://github.com/diamondburned/dissent/issues/135, this worked for me:

.window-chatpage {
  font-size: 22px;
}

.message-cozy .message-cozy-header {
  margin-top: 30px;
}

.message-cozy .message-cozy-avatar {
  margin-top: 30px;
}

.message-content-box .message-reply-content {
  font-size: 22px;
}

.message-normalembed .message-normalembed-body {
  font-size: 22px;
}

Save it to $HOME/.config/dissent/user.css or $HOME/.var/app/so.libdb.dissent/config/dissent/user.css when using Flatpak.

Got the CSS classes from message.go, chat.go and content.go.

pagenstedt commented 5 months ago

Works. Thank you!

Vistaus commented 4 months ago

Just tried it, but it doesn't work for me. :(