Skip to content

Commit

Permalink
fix full-bleed
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed Sep 18, 2024
1 parent c5cab74 commit 4192b33
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/nimble-components/src/text-field/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ export const styles = css`
${userSelectNone}
}
:host([appearance='frameless'][full-bleed]) .root::before {
display: none;
}
.root::after {
${/* Empty string causes alignment issue */ ''}
content: ' ';
Expand All @@ -103,6 +107,10 @@ export const styles = css`
margin-left: -1px;
}
:host([appearance='frameless'][full-bleed]) .root::after {
display: none;
}
[part='start'] {
display: contents;
}
Expand Down Expand Up @@ -131,6 +139,10 @@ export const styles = css`
text-overflow: ellipsis;
}
:host([appearance='frameless'][full-bleed]) .control {
margin-left: 0px;
}
.control:hover,
.control:focus,
.control:disabled,
Expand Down

0 comments on commit 4192b33

Please sign in to comment.