Skip to content

Commit

Permalink
set search field width to 100 percent
Browse files Browse the repository at this point in the history
  • Loading branch information
BramvdBogaard committed Jan 1, 2025
1 parent ba893da commit b3bcced
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,23 @@ export class IcomoonPickerContent extends LitElement {
}
.search-input {
padding: 10px 12px; /* Adjust inner padding */
font-size: 16px; /* Consistent font size */
line-height: 1.5; /* Align text and placeholder vertically */
padding: 10px 12px;
font-size: 16px;
line-height: 1.5;
border: 1px solid #ccc;
border-radius: 4px;
outline: none;
transition: border-color 0.3s;
align-items: center;
width: 100%;
margin-bottom: 1rem;
box-sizing: border-box; /* Ensures padding doesn't overflow */
box-sizing: border-box;
}
.search-input::placeholder {
color: #aaa; /* Placeholder color for subtle appearance */
font-style: italic; /* Optional styling */
vertical-align: middle; /* Aligns placeholder text */
color: #aaa;
font-style: italic;
vertical-align: middle;
}
.search-input:focus {
Expand Down

0 comments on commit b3bcced

Please sign in to comment.