Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make middlepanel width optionally customisable #1371

Closed
matrixbot opened this issue Apr 12, 2016 · 9 comments
Closed

Make middlepanel width optionally customisable #1371

matrixbot opened this issue Apr 12, 2016 · 9 comments

Comments

@matrixbot
Copy link

Created by @ matthew:matrix.org.

@sbts
Copy link

sbts commented May 4, 2017

This is a regression.
The message pane no-longer expands when the window width is increased.
This is both annoying and a waste of space.
The problem occurs on both app and develop and is a regression as it used to expand just fine.
see Riot-need-to-expand-message-pane.png for an example screenshot"

It's not only a problem on 4K monitors (where that screenshot was taken)
even on my 1280x1024 with zoom 1 click out (in the browser) this is a problem.
As I normally run on that monitor, in that state of zoom I'd been meaning to track down the wide margins, and finally found the time.

@MTRNord
Copy link
Contributor

MTRNord commented Jul 3, 2017

For Browser user I have this wide css design:
Either use this UserStyle: https://userstyles.org/styles/144258/riot-im-wide
Or this Userscript: https://userstyles.org/styles/userjs/144258/riot-im-wide.user.js
Or go with this css code (needs to be added after the build)

@-moz-document url-prefix("https://riot.im/app/"), url-prefix("https://riot.im/develop/"), url-prefix("https://riot.im/beta/"), url-prefix("https://riot.im/staging/")
{
  .mx_RoomView_messageListWrapper
  {
    max-width: 100% !important;
  }

  .mx_MessageComposer_wrapper
  {
    max-width: 100% !important;
  }

  .mx_RoomHeader .mx_RoomHeader_wrapper
  {
    max-width: 100% !important;
  }

  .mx_RoomView .mx_RoomView_auxPanel
  {
    max-width: 100% !important;
    max-height: 74% !important;
  }

  .mx_UserSettings
  {
    max-width: 100% !important;
  }

  .mx_TopUnreadMessagesBar
  {
    max-width: 100% !important;
  }

  .mx_RoomDirectory
  {
    max-width: 87% !important;
  }

  .mx_HomePage
  {
    max-width: 87% !important;
  }

  .mx_HomePage_header
  {
    max-width: 78% !important;
  }

  .mx_Dialog
  {
    max-width: 100% !important;
    border-radius: 5px !important;
  }

  .mx_UserSettings_toggle
  {
    margin-bottom: 6px !important;
  }

  .mx_UserSettings_advanced
  {
    line-height: 183% !important;
  }

  .mx_UserNotifSettings_pushRulesTable
  {
    line-height: 172% !important;
  }

  .mx_RoomView_statusAreaBox
  {
    max-width: 100% !important;
  }
}

@MTRNord
Copy link
Contributor

MTRNord commented Jul 3, 2017

Quickfix electron wide version: Insert the following code to the head section of your client via the console (bottom of the head):

<style>
            .mx_RoomView_messageListWrapper
  {
    max-width: 100% !important;
  }

  .mx_MessageComposer_wrapper
  {
    max-width: 100% !important;
  }

  .mx_RoomHeader .mx_RoomHeader_wrapper
  {
    max-width: 100% !important;
  }

  .mx_RoomView .mx_RoomView_auxPanel
  {
    max-width: 100% !important;
    max-height: 74% !important;
  }

  .mx_UserSettings
  {
    max-width: 100% !important;
  }

  .mx_TopUnreadMessagesBar
  {
    max-width: 100% !important;
  }

  .mx_RoomDirectory
  {
    max-width: 87% !important;
  }

  .mx_HomePage
  {
    max-width: 87% !important;
  }

  .mx_HomePage_header
  {
    max-width: 78% !important;
  }

  .mx_Dialog
  {
    max-width: 100% !important;
    border-radius: 5px !important;
  }

  .mx_UserSettings_toggle
  {
    margin-bottom: 6px !important;
  }

  .mx_UserSettings_advanced
  {
    line-height: 183% !important;
  }

  .mx_UserNotifSettings_pushRulesTable
  {
    line-height: 172% !important;
  }

  .mx_RoomView_statusAreaBox
  {
    max-width: 100% !important;
  }
  </style>

@BloodyIron
Copy link

So... can we get this addressed mainline please? :) Milestone maybe?

@lampholder lampholder added bounty and removed bounty? labels Dec 12, 2017
@status-open-bounty
Copy link

status-open-bounty commented Dec 12, 2017

Current balance: 0.0 ETH
Tokens: SNT: 2000.00
Contract address: 0xddc2268a74bbf450a0e09feda5dec9dad007eadd
QR Code
Network: Mainnet
To claim this bounty sign up at https://openbounty.status.im and make sure to update your Ethereum address in My Payment Details so that the bounty is correctly allocated.
To fund it, send ETH or ERC20/ERC223 tokens to the contract address.

@t3chguy
Copy link
Member

t3chguy commented Dec 18, 2017

@lampholder @ara4n would this be a toggle full/default or something more...granular?

@lampholder
Copy link
Member

I'm picturing something that lets you resize with width of the room list panel and the right hand panel, most likely coupled with addressing the bug (design decision?) that the timeline text has a maximum width (so that it fills whatever space is left between the LHS and the RHS).

@ara4n what are your thoughts on this?

@georgiemathews
Copy link

@lampholder does this still need work, more than happy to help

@turt2live
Copy link
Member

We did this by proxy of making the left and right sides resizable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests