Refined-github: pin/unpin issue button layout broken

Created on 28 Jun 2020  路  6Comments  路  Source: sindresorhus/refined-github

  1. Include a full URL where the bug appears.

https://github.com/miyataka/fcmpush/issues/12
or
some your own issue URL.

  1. Include a screenshot/gif
  • when disabled refined-github
    image

  • when enabled refined-github

    • some error occuered
      image
    • and here layout is broken
      image
bug good first issue help wanted

All 6 comments

some version info
image
image

The selector needs to be made more specific

Culprit:

That's the base of the feature, it can't be changed. Are there any floats that are pushing that down? Maybe the title just needs a max-width

Are there any floats that are pushing that down

You are right:
image

So basically change:

[action$='unpin'] svg {
        margin-left: -10px;
        margin-right: 10px !important;
    }

to:

.pinned-issue-item form button {
  float: unset !important;
  margin-left: -10px;
  margin-right: 2px !important;
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

olso picture olso  路  3Comments

durka picture durka  路  3Comments

vanniktech picture vanniktech  路  3Comments

shivapoudel picture shivapoudel  路  3Comments

Arcanemagus picture Arcanemagus  路  3Comments