fix: namespace new buttons on mobile #1262

Merged
dpschen merged 10 commits from fix/new-buttons into main 2022-01-05 12:46:34 +00:00
Showing only changes of commit 696b11a33b - Show all commits

View File

@ -152,12 +152,12 @@ export default {
}
.new-namespace {
konrad marked this conversation as resolved Outdated

unindent class (no need because it's scoped).

unindent class (no need because it's scoped).

Done.

Done.
margin-left: 1rem;
margin-bottom: .5rem;
konrad marked this conversation as resolved Outdated

Scope this for min-width $tablet so that we don't need an overwrite for smaller devices (mobile first)

Scope this for `min-width $tablet` so that we don't need an overwrite for smaller devices (mobile first)

Done.

I had to override the width though.

Done. I had to override the width though.
width: 100%;
@media screen and (max-width: $tablet) {
width: 100%;
margin-left: 0;
margin-bottom: .5rem;
@media screen and (min-width: $tablet) {
margin-left: 1rem;
width: auto;
}
}
</style>