Homepage dilemma toggles on mobile

This commit is contained in:
kitajchuk committed 2021-04-05 14:53:20 -07:00
1 parent 7b80055f7d
commit 712eceafde
4 files changed
+75 -14

No files matched your search

+31 -3
View File
@@ -111,6 +111,10 @@
}
&__title {
display: flex;
justify-content: center;
align-items: center;
img {
width: 50%;
@@ -120,12 +124,36 @@
}
}
&__title,
&__point {
margin-bottom: 16px;
&__toggle {
margin-left: auto;
display: none;
cursor: pointer;
svg {
pointer-events: none;
}
@media (max-width: $width-tablet-2) {
display: block;
}
}
&__points {
margin-top: 16px;
@media (max-width: $width-tablet-2) {
display: none;
}
&.active {
@media (max-width: $width-tablet-2) {
display: block;
}
}
}
&__point {
margin-bottom: 16px;
display: flex;
align-items: flex-start;
text-align: left;