Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Fix missing button in code nav policy config in small browser window#39115

Merged
chrismwendt merged 1 commit into
mainfrom
fix-chevron-disappearing
Jul 26, 2022
Merged

Fix missing button in code nav policy config in small browser window#39115
chrismwendt merged 1 commit into
mainfrom
fix-chevron-disappearing

Conversation

@chrismwendt

@chrismwendt chrismwendt commented Jul 19, 2022

Copy link
Copy Markdown
Contributor

Resolves https://github.com/sourcegraph/sourcegraph/issues/29097

CleanShot 2022-07-19 at 16 28 59

Test plan

Ran locally.

App preview:

Check out the client app preview documentation to learn more.

@chrismwendt chrismwendt requested a review from efritz July 19, 2022 22:43
@cla-bot cla-bot Bot added the cla-signed label Jul 19, 2022
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 780ecda...10dd9cd.

Notify File(s)
@efritz client/web/src/enterprise/codeintel/configuration/pages/CodeIntelConfigurationPage.module.scss
client/web/src/enterprise/codeintel/configuration/pages/CodeIntelConfigurationPage.tsx

<Link to={`./configuration/${policy.id}`} className="p-0">
<Icon svgPath={mdiChevronRight} inline={false} aria-label="Configure" />
</Link>
</span>

@chrismwendt chrismwendt Jul 19, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I completely removed the wrapper <span> because all it did was:

  • Hide the button on md (medium) and smaller windows, but that was bad because it's the only way to edit a policy
  • Move the chevron to the next row, but it's small enough to always show it on the side

@chrismwendt chrismwendt merged commit 80ed728 into main Jul 26, 2022
@chrismwendt chrismwendt deleted the fix-chevron-disappearing branch July 26, 2022 21:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arrow for editing auto-indexing policies goes missing at small window widths

3 participants