Automattic / Automattic/jetpack
Carousel: CSS validation error
Open
[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
Assessment
This issue has not been assessed yet.