Automattic / Automattic/jetpack

Carousel: CSS validation error

Open
#14,775 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Carousel [Pri] Low Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

According to The W3C CSS Validation Service, the CSS block below contains an error: "auto" is not a valid value for "padding-right" on line 318 of modules/carousel/jetpack-carousel.css.

```
div.jp-carousel-buttons a.jp-carousel-reblog,
div.jp-carousel-buttons a.jp-carousel-reblog.reblogged:hover {
background-position: 6px -36px;
padding-right: auto !important;
padding-left: 26px !important;
color: #999;
}
```

Also, "!important" should be avoided, if possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.