fix: namespace new buttons on mobile #1262
|
@ -152,12 +152,12 @@ export default {
|
|||
}
|
||||
|
||||
.new-namespace {
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
margin-left: 1rem;
|
||||
margin-bottom: .5rem;
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
Scope this for Scope this for `min-width $tablet` so that we don't need an overwrite for smaller devices (mobile first)
konrad
commented
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>
|
Reference in New Issue
Block a user
unindent class (no need because it's scoped).
Done.