fix: Fixes broken style in automation page (#6171)
* fix: Fixes broken style in automation page * Fix the position of drag handle Co-authored-by: fayazara <fayazara@gmail.com> Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4bbd56f87d
commit
74c6db37b3
@@ -75,7 +75,7 @@ Arial,
|
||||
sans-serif;
|
||||
$body-antialiased: true;
|
||||
$global-margin: $space-small;
|
||||
$global-padding: $space-micro;
|
||||
$global-padding: $space-small;
|
||||
$global-weight-normal: normal;
|
||||
$global-weight-bold: bold;
|
||||
$global-radius: 0;
|
||||
|
||||
@@ -82,8 +82,8 @@
|
||||
@include flex-align($x: flex-end, $y: middle);
|
||||
padding: $space-small $zero;
|
||||
|
||||
button {
|
||||
font-size: $font-size-small;
|
||||
.button {
|
||||
margin-left: var(--space-small);
|
||||
}
|
||||
|
||||
&.justify-content-end {
|
||||
|
||||
@@ -39,6 +39,8 @@ export default {
|
||||
<style scoped lang="scss">
|
||||
.wrap-content {
|
||||
word-wrap: break-word;
|
||||
margin-top: var(--space-small);
|
||||
|
||||
.content-value {
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
@@ -1,23 +1,14 @@
|
||||
<template>
|
||||
<modal :show.sync="show" :on-close="cancel">
|
||||
<div class="column content-box">
|
||||
<woot-modal-header :header-title="title" />
|
||||
<div class="row modal-content">
|
||||
<div class="medium-12 columns">
|
||||
<p>
|
||||
{{ description }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="medium-12 columns">
|
||||
<woot-button @click="confirm">
|
||||
{{ confirmLabel }}
|
||||
</woot-button>
|
||||
<button class="button clear" @click="cancel">
|
||||
{{ cancelLabel }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<woot-modal-header :header-title="title" :header-content="description" />
|
||||
<div class="modal-footer">
|
||||
<woot-button variant="clear" @click="cancel">
|
||||
{{ cancelLabel }}
|
||||
</woot-button>
|
||||
<woot-button @click="confirm">
|
||||
{{ confirmLabel }}
|
||||
</woot-button>
|
||||
</div>
|
||||
</div>
|
||||
</modal>
|
||||
@@ -73,3 +64,8 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.modal-container .modal-footer {
|
||||
padding: var(--space-normal) var(--space-medium);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -107,7 +107,7 @@ export default {
|
||||
<style scoped lang="scss">
|
||||
.macros__node-drag-handle {
|
||||
position: absolute;
|
||||
left: var(--space-minus-medium);
|
||||
left: var(--space-minus-large);
|
||||
cursor: move;
|
||||
}
|
||||
.macro__node-action-container {
|
||||
|
||||
Reference in New Issue
Block a user