Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLUID-6772: resolve horizontal overflow issue #1109

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/framework/core/css/fluid.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,18 @@
.fl-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}

/*
* Extends the .visuallyhidden class to allow the element to be focusable
* Extends the .fl-hidden-accessible class to allow the element to be focusable
* when navigated to via the keyboard
*/
.fl-hidden-accessible.fl-focus:active,
Expand Down
8 changes: 7 additions & 1 deletion src/framework/preferences/css/sass/PrefsEditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ $icon-font: 'PrefsFramework-Icons';

.fl-preview-A {
font-size: 1.7em;
letter-spacing: normal // prevents the preview content from shifting when letter-spacing is set
letter-spacing: normal; // prevents the preview content from shifting when letter-spacing is set
}

// Pseudo content to prevent AT from reading display 'a'
Expand Down Expand Up @@ -239,6 +239,12 @@ $icon-font: 'PrefsFramework-Icons';
width: calc(100% - 5px); // deduct the right margin from the calculation
}

label .fl-hidden-accessible {
display: inline-block;
position: relative;
width: 0;
}

&:last-child .fl-indicator {
width: 100%;
}
Expand Down
Loading