Commit 7d2d9e48 authored by nwindis's avatar nwindis
Browse files

Merge branch 'fix/#79-fix-various-margins-and-paddings' into 'develop'

FIX various margins and paddings

See merge request subugoe/emo/Qviewer!69
parents d692c875 e94d3472
Pipeline #153423 passed with stages
in 3 minutes and 57 seconds
......@@ -48,17 +48,17 @@ export default {
</script>
<style lang="scss" scoped>
button:first-of-type {
@media (min-width: 600px) {
margin-right: 8px;
}
button:first-of-type {
@media (min-width: 600px) {
margin-right: 8px;
}
}
.q-input {
width: 100%;
@media (min-width: 600px) {
margin-right: 8px;
width: 150px;
}
.q-input {
width: 100%;
@media (min-width: 600px) {
margin-right: 8px;
width: 160px;
}
}
</style>
......@@ -145,39 +145,39 @@ export default {
</script>
<style lang="scss" scoped>
.panels {
.panels {
> * {
column-gap: 24px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
// FIXME: class name not self explanatory
.p-c {
position: relative;
> * {
column-gap: 20px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
// FIXME: class name not self explanatory
.p-c {
position: relative;
> * {
background-color: $light;
height: 300px;
padding: 15px 10px;
}
height: 240px;
padding: 24px 8px;
}
}
header {
display: flex;
}
header {
display: flex;
}
.components-list > * {
background-color: $light;
border-radius: 5px;
cursor: move;
margin: 10px 0;
padding: 10px;
}
.components-list > * {
background-color: $light;
border-radius: 2px;
cursor: move;
margin: 8px 0;
padding: 8px;
}
.actions {
left: -10px;
position: absolute;
top: -10px;
}
.actions {
left: -8px;
position: absolute;
top: -8px;
}
}
</style>
......@@ -30,7 +30,7 @@
</q-card>
<!-- shows the panels -->
<div v-else-if="p.connector.length === 1" class="q-pa-md q-gutter-sm overflow-hidden">
<div v-else-if="p.connector.length === 1" class="q-pa-sm q-gutter-sm overflow-hidden">
<component :is="p.connector[0].component" :key="keys[p.connector[0].id]" v-bind="$props" />
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment