Skip to content

latest-tag-button causes "Use this template" overlap #5071

Closed

Description

@fregante

Please ensure:

  • The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.

Include in this issue:

  • Screenshots/video/gif demonstrating the bug, if it’s visual
  • Console errors, if any

Description

Window width between 600 and 1000px

Screen Shot 16

I'm not sure about what we should do though

Example URL

https://github.com/fregante/browser-extension-template

Browser(s) used

Safari

Activity

  1. cheap-glitch commented on Nov 15, 2021

    @cheap-glitch
    Contributor

    Even before the button collides with the sidebar, this happens (around 1100px wide):

    image

    The obvious solution would be to hide our own button, but if we don't want to do that, how about moving "Use this template" to the top of the sidebar? Or maybe just under the repo description?

  2. kidonng commented on Nov 15, 2021

    @kidonng
    Member

    Time to make it an icon with clean-repo-filelist-actions

    @cheap-glitch what's with that "Code" label? Did clean-repo-filelist-actions fail to remove it?

  3. cheap-glitch commented on Nov 15, 2021

    @cheap-glitch
    Contributor

    Time to make it an icon with clean-repo-filelist-actions

    I don't know, what icon could convey the meaning unambiguously? This is probably not a button frequently seen by users, so it might get confusing.

    what's with that "Code" label? Did clean-repo-filelist-actions fail to remove it?

    Nice catch, apparently GitHub dropped the icon so the selector doesn't work anymore. Edit: opened #5074

  4. fregante commented on May 21, 2022

    @fregante
    MemberAuthor

    Possible solution, similar to:

    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;

    Screen Shot 3

    It needs the same fix we applied in #5623 for the duplicate margins. Alternatively, use gap: 0 8px and just drop the margin-right on the green element.

    Needs testing on several repos. We could also disable the hiding of tags and branches:

    Screen Shot

  5. added
    small
    on May 21, 2022
  6. fregante commented on Jan 30, 2023

    @fregante
    MemberAuthor

    Button’s gone 😍

    ko

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

    acceptedbugoldest bug 🦖small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions