1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

margin remove in mobile view with bold removed

This commit is contained in:
Umang G. Patel 2022-10-13 01:13:15 +05:30
parent c82f06a9e0
commit acf368da63

View file

@ -88,7 +88,7 @@
&-wrapper::after { &-wrapper::after {
color: var(--color-button-secondary); color: var(--color-button-secondary);
font-weight: 600; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 17px; line-height: 17px;
content: attr(data-shortcut); content: attr(data-shortcut);
@ -102,12 +102,13 @@
&__search::placeholder { &__search::placeholder {
color: var(--color-button-secondary); color: var(--color-button-secondary);
font-weight: 600; font-weight: 400;
} }
&__section { &__section {
overflow: hidden; overflow: hidden;
flex-shrink: 0; flex-shrink: 0;
margin-top: 20px;
&--hidden { &--hidden {
display: none; display: none;
@ -138,10 +139,12 @@
} }
} }
&__section:not(:first-child) { @media (--mobile) {
margin-top: 20px; &__section:nth-child(2) {
margin-top: 0px;
}
} }
&__section-title { &__section-title {
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;