Skip to content

Commit

Permalink
Fix #6163: p-hidden-accessible modernization
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Mar 15, 2024
1 parent 7d1dfa3 commit de66210
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions components/lib/componentbase/ComponentBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import { ObjectUtils, classNames, mergeProps } from '../utils/Utils';

const baseStyle = `
.p-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
border: 0 !important;
padding: 0 !important;
margin: -1px !important;
position: absolute !important;
height: 1px !important;
width: 1px !important;
overflow: hidden !important;
clip-path: inset(50%) !important;
white-space: nowrap !important;
}
.p-hidden-accessible input,
Expand Down

0 comments on commit de66210

Please sign in to comment.