1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

feat(ui): add icon to button [EE-3662] (#7204)

This commit is contained in:
Chaim Lev-Ari 2022-07-06 17:05:00 +03:00 committed by GitHub
parent b4acbfc9e1
commit 88c4a43a19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 104 additions and 27 deletions

View file

@ -2,6 +2,7 @@
border-radius: 5px;
display: inline-flex;
justify-content: space-around;
align-items: center;
gap: 5px;
}

View file

@ -12,31 +12,32 @@ pr-icon {
.icon {
color: currentColor;
margin: 0;
font-size: var(--icon-size);
height: var(--icon-size);
width: var(--icon-size);
--icon-size: 1em;
}
.icon-xs {
height: 10px;
width: 10px;
--icon-size: 10px;
}
.icon-sm {
height: 14px;
width: 14px;
--icon-size: 14px;
}
.icon-md {
height: 16px;
width: 16px;
--icon-size: 16px;
}
.icon-lg {
height: 22px;
width: 22px;
--icon-size: 22px;
}
.icon-xl {
height: 26px;
width: 26px;
--icon-size: 26px;
}
.icon.icon-alt {