StackExchange / StackExchange/Stacks

Add negative margin conditionals

Open
#648 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
672
Forks
107
Avg merge
2d 12h
Merged PRs (30d)
26

Description

I am trying to use md:mtn6 on an element, and it is not having any effect. I had md:ml6 attached to the same element, and this worked, so I assume that it is a specific issue with conditional classes not being hooked up properly to some or all of the negative margin classes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation or generation entry point for the md:mtn6 and md:ml6 utility classes, then compare how their responsive conditional variants are registered. Done means md:mtn6 applies the expected negative margin at the medium breakpoint, consistently with md:ml6, with coverage for the affected class behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.