Fix BEM modifier in footer-end
This commit is contained in:
@@ -4,7 +4,7 @@ import { getItemPageNames, isMobileViewport } from '../../common/config';
|
|||||||
|
|
||||||
export default function FooterEnd({ items, pageName }) {
|
export default function FooterEnd({ items, pageName }) {
|
||||||
return (
|
return (
|
||||||
<div className={classNames('footer-end', {'footer-end-left': !isMobileViewport() && getItemPageNames(items).includes(pageName)})} >
|
<div className={classNames('footer-end', {'footer-end--left': !isMobileViewport() && getItemPageNames(items).includes(pageName)})} >
|
||||||
<div className="footer-social">
|
<div className="footer-social">
|
||||||
<div className="footer-social__label">
|
<div className="footer-social__label">
|
||||||
<p>Follow us:</p>
|
<p>Follow us:</p>
|
||||||
|
|||||||
@@ -11,6 +11,12 @@
|
|||||||
color: var(--color-gray-normal);
|
color: var(--color-gray-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--left {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
margin-top: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
@media (--until-sm) {
|
@media (--until-sm) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -18,11 +24,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-end-left {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-social {
|
.footer-social {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|||||||
Reference in New Issue
Block a user