mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 21:49:31 -07:00
refactor(article.scss): remove margin-top from .info class to improve layout consistency
feat(article.scss): add media query to apply margin-top to .info class on tablets and devices with no hover support to improve responsiveness
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
.info {
|
.info {
|
||||||
margin-top: var(--nav-height);
|
|
||||||
padding: var(--space-standard);
|
padding: var(--space-standard);
|
||||||
max-width: 25em;
|
max-width: 25em;
|
||||||
|
|
||||||
@@ -41,3 +40,9 @@
|
|||||||
margin: 1.2rem 0;
|
margin: 1.2rem 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: $tablet), (hover: none) {
|
||||||
|
.info {
|
||||||
|
margin-top: var(--nav-height);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user