Skip to content

Commit

Permalink
Document hidden remedy
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Feb 1, 2021
1 parent 64106f4 commit 9defa91
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# Changelog & Release Notes

## UNRELEASED

- Remedies: Add basic `[hidden]` remedy
to fix unintentional `display` overrides

## v0.1.0-beta.2 - 9/18/2019

- Comment out reminders,
- Reminders: Comment out reminders,
so that authors have to explicitly opt-in
case-by-case.
- Add inline documentation comments
- Docs: Add inline documentation comments
(marked with `@docs`)
using [Doxray](https://github.com/himedlooff/doxray)
and YAML format.
- Exclude irrelevant files from npm releases
- Typo fixes

- Docs: Typo fixes
- NPM: Exclude irrelevant files from npm releases

## v0.1.0-beta.1 - 9/12/2019

Expand Down
15 changes: 12 additions & 3 deletions css/remedy.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ category: global
body { margin: 0; }


/* @docs
label: Hidden
note: |
Maintain `hidden` behaviour
when overriding `display` defaults.
category: global
*/
[hidden] { display: none; }


/* @docs
label: Heading Sizes
Expand Down Expand Up @@ -148,9 +160,6 @@ category: embedded elements
*/
audio { width: 100%; }

/** Maintain `hidden` behaviour on our display styles. */
[hidden] { display: none; }

/* @docs
label: Image Borders
Expand Down

0 comments on commit 9defa91

Please sign in to comment.