Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Responsive Pixels Responsive Pixels
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ind.ie Projects
  • Responsive PixelsResponsive Pixels
  • Issues
  • #1

Closed
Open
Created Dec 10, 2014 by Laura Kalbag@laura⚡Reporter

background-size should not be responsive pixel-ified if the value is %

When I do:

background-size 100%

in the Stylus, the CSS output by Responsive Pixels is:

background-size: 100% 1px 1px; background-size: 100%;

Not sure where the 1px 1px comes from, but any % value should be ignored by Responsive Pixels.

EDIT: It does this on other values as well. For example:

table th padding 5px 10px

is rendered as:

padding: 5px 10px 1px 1px; /* Make sure that the rule is written out only once in case there is no rem substitution */ padding: 0.3125rem 0.625rem;

Assignee
Assign to
Time tracking

Like this? Fund us! Your patronage helps keep us independent and going.