Skip to content

Commit

Permalink
fixing css
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitsmebev committed Nov 7, 2024
1 parent ca96495 commit c85bbb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/enhancedTextbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class='textbox-highlight-wrapper' />
`)
.after(this.$background = $(`
<div class="textbox-highlight-background" aria-hidden="true" role="presentation"/>
<div class="textbox-highlight-background" aria-hidden="true" />
`))
.on("input", this.update);

Expand All @@ -37,7 +37,7 @@
this.initialHeight = visibleTextbox.height();

this.$background.css({
'border-width': this.$textbox.css('border-width'),
'border-width': this.$textbox.css('border-width')
});

visibleTextbox.remove();
Expand Down
4 changes: 1 addition & 3 deletions app/assets/sass/uswds/_uswds-theme-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ td.table-empty-message {
line-height: 1.2;
padding: units(1);
font-family: family("sans");
color: black;
}

.usa-dark-background .pill-item__label {
Expand Down Expand Up @@ -609,14 +608,13 @@ details form {
top: 0;
left: 0;
pointer-events: none;
color: black;
color: transparent;
white-space: pre-wrap;
overflow-wrap: break-word;
word-wrap: break-word;
border: 2px solid transparent;
padding-bottom: units(3);
z-index: 10;
opacity: 0;

// transparent borders become visible in high contrast modes so set to match background
@media (-ms-high-contrast: active), (forced-colors: active) {
Expand Down

0 comments on commit c85bbb4

Please sign in to comment.