Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Teams
Engagement
Websites
GNOME HIG CSS Library
Commits
367b2efe
Commit
367b2efe
authored
Apr 10, 2021
by
Pooja Patel
💻
Browse files
Added blank lines for readabilty
parent
12e21ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
documentation/components/inputs.md
View file @
367b2efe
...
...
@@ -223,6 +223,7 @@ Refers to enabling or disabling options.
<input type="search" onfocus="addBlueToSearchIcon('search-icon')"
onfocusout="removeBlueFromSearchIcon('search-icon')" class="w-52" placeholder="Search for content">
</div>
<script>
function addBlueToSearchIcon(id) {
let searchIcon = document.getElementById(id);
...
...
@@ -253,6 +254,7 @@ Refers to enabling or disabling options.
let
searchIcon
=
document
.
getElementById
(
id
);
searchIcon
.
classList
.
add
(
"
text-gnome-blue-500
"
);
}
function
removeBlueFromSearchIcon
(
id
)
{
let
searchIcon
=
document
.
getElementById
(
id
);
searchIcon
.
classList
.
remove
(
"
text-gnome-blue-500
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment