Skip to content

Commit

Permalink
Add Fontawesome rule for icon in form (uk-form-icon)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Oct 22, 2024
1 parent 751192b commit 5e3d62a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/less/components/uf-font-awesome.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Variables
// ========================================================================
@fa-form-icon-size: 16px;
@fa-form-icon-padding: 12px;

/* ========================================================================
Component: Sidebar
========================================================================== */

.fa-form-icon {
&:extend(.uk-form-icon all);
width: @fa-form-icon-size;
height: @fa-form-icon-size;
padding: @fa-form-icon-padding;
}
1 change: 1 addition & 0 deletions src/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
@import 'components/uf-navbar-usercard.less';
@import 'components/uf-navbar-logincard.less';
@import 'components/uf-header.less';
@import 'components/uf-font-awesome.less';

0 comments on commit 5e3d62a

Please sign in to comment.