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;
|
sans-serif;
|
||||||
$body-antialiased: true;
|
$body-antialiased: true;
|
||||||
$global-margin: $space-small;
|
$global-margin: $space-small;
|
||||||
$global-padding: $space-micro;
|
$global-padding: $space-small;
|
||||||
$global-weight-normal: normal;
|
$global-weight-normal: normal;
|
||||||
$global-weight-bold: bold;
|
$global-weight-bold: bold;
|
||||||
$global-radius: 0;
|
$global-radius: 0;
|
||||||
|
|||||||
@@ -82,8 +82,8 @@
|
|||||||
@include flex-align($x: flex-end, $y: middle);
|
@include flex-align($x: flex-end, $y: middle);
|
||||||
padding: $space-small $zero;
|
padding: $space-small $zero;
|
||||||
|
|
||||||
button {
|
.button {
|
||||||
font-size: $font-size-small;
|
margin-left: var(--space-small);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.justify-content-end {
|
&.justify-content-end {
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ export default {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.wrap-content {
|
.wrap-content {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
margin-top: var(--space-small);
|
||||||
|
|
||||||
.content-value {
|
.content-value {
|
||||||
font-weight: var(--font-weight-bold);
|
font-weight: var(--font-weight-bold);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<modal :show.sync="show" :on-close="cancel">
|
<modal :show.sync="show" :on-close="cancel">
|
||||||
<div class="column content-box">
|
<div class="column content-box">
|
||||||
<woot-modal-header :header-title="title" />
|
<woot-modal-header :header-title="title" :header-content="description" />
|
||||||
<div class="row modal-content">
|
|
||||||
<div class="medium-12 columns">
|
|
||||||
<p>
|
|
||||||
{{ description }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<div class="medium-12 columns">
|
<woot-button variant="clear" @click="cancel">
|
||||||
|
{{ cancelLabel }}
|
||||||
|
</woot-button>
|
||||||
<woot-button @click="confirm">
|
<woot-button @click="confirm">
|
||||||
{{ confirmLabel }}
|
{{ confirmLabel }}
|
||||||
</woot-button>
|
</woot-button>
|
||||||
<button class="button clear" @click="cancel">
|
|
||||||
{{ cancelLabel }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</modal>
|
</modal>
|
||||||
@@ -73,3 +64,8 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</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">
|
<style scoped lang="scss">
|
||||||
.macros__node-drag-handle {
|
.macros__node-drag-handle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: var(--space-minus-medium);
|
left: var(--space-minus-large);
|
||||||
cursor: move;
|
cursor: move;
|
||||||
}
|
}
|
||||||
.macro__node-action-container {
|
.macro__node-action-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user