Add a basic screen-reader-text style for themes which do not define it.

This commit is contained in:
Mike Jolley 2017-10-13 11:27:20 +01:00
parent feffde2a73
commit d6cf486c55
3 changed files with 11 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,6 +38,15 @@ p.demo_store,
}
}
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
.admin-bar p.demo_store {
top: 32px;
}