mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-05-15 02:51:07 +08:00
Made more elements (mostly icons) viewport size responsive
This commit is contained in:
parent
810c805452
commit
65742e1a42
16 changed files with 98 additions and 55 deletions
|
@ -10,8 +10,8 @@ export default function AppLogo(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-plant-2"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="2"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function HomeIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-home-2"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="2"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function InventoryIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-box-seam"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function LogoutIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-logout"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function LogsIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-clipboard-data"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function NotFoundIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-error-404"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function ProductsIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-list-numbers"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function StatsIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-align-box-bottom-center"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
|
@ -10,8 +10,8 @@ export default function TotalProductsIcon(props: props) {
|
|||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="icon icon-tabler icon-tabler-packages"
|
||||
width={props.size}
|
||||
height={props.size}
|
||||
width={props.size + "vh"}
|
||||
height={props.size + "vh"}
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1"
|
||||
stroke={props.color}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue