loader fix

This commit is contained in:
VividTruthKeeper 2023-02-26 19:58:31 +05:00
parent 88ea89cec4
commit 6f311e398e
2 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const SubNav = () => {
return (
<nav className="subnav">
<div className="container">
<ul className="subnav-inner">
<ul className={`subnav-inner ${!data ? "loading" : ""}`}>
{data ? (
<>
<SubNavLiMain

View File

@ -159,6 +159,10 @@
align-items: center;
gap: 2.4rem;
&.loading {
grid-template-columns: 1fr !important;
}
li {
color: $black;
width: 100%;