Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Adjust scrollbar size #4033

Closed
Closed

Description

@mchelen

Is it possible to adjust scrollbar size? It is very small on high-resolution screens. What selectors in styles.less would do this?
Related to #3636

Activity

  1. mchelen commented on Nov 2, 2014

    @mchelen
    Author

    That worked, thanks!
    For reference, I had to use !important in my ~/.atom/styles.less

    ::-webkit-scrollbar {
        width: 25px !important;
        height: 25px !important;
    }
  2. jkyeung commented on Sep 28, 2017

    @jkyeung

    I think it's worth noting that, depending on the size you want, you may also have to make the following adjustments, in addition to what was mentioned by @lee-dohm and @mchelen:

    .vertical-scrollbar {
        width: 16px !important;  // has to be bigger than webkit-scrollbar
    }
    .horizontal-scrollbar {
        height: 16px !important;  // has to be bigger than webkit-scrollbar
    }

    At least for me, on release 1.20.1, when the dimensions of the vertical and horizontal scrollbar exactly match the dimensions of the webkit scrollbar, the scrollbars disappear when switching from one editor tab to another. If the webkit scrollbar dimensions are larger, that seems fine, just that they will be "truncated" to the vertical and horizontal scrollbar dimensions. (Which you could actually do on purpose to achieve, for example, a vertical slider whose right edge is rounded but left edge is straight.)

  3. eddbreuer commented on Feb 1, 2018

    @eddbreuer

    Thank you!

  4. lee-dohm commented on Feb 1, 2018

    @lee-dohm
    Contributor

    @cleanenergyjoy, your comment was deleted because it appeared to be an accidental sharing of personal information.

  5. deleted a comment from on Feb 1, 2018
  6. lock commented on Jul 31, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  7. locked as resolved and limited conversation to collaborators on Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions