Skip to content

Commit

Permalink
fix(editor): Fix unwanted side effects from tailwind components (no-c…
Browse files Browse the repository at this point in the history
…hangelog) (#9359)
  • Loading branch information
alexgrozav committed May 10, 2024
1 parent c92c870 commit aa397b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
18 changes: 9 additions & 9 deletions packages/editor-ui/src/components/MainHeader/WorkflowDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ function goToUpgrade() {
</script>

<template>
<div class="container">
<div :class="$style.container">
<BreakpointsObserver :value-x-s="15" :value-s-m="25" :value-m-d="50" class="name-container">
<template #default="{ value }">
<ShortenName
Expand Down Expand Up @@ -665,14 +665,6 @@ function goToUpgrade() {
$--text-line-height: 24px;
$--header-spacing: 20px;
.container {
position: relative;
top: -1px;
width: 100%;
display: flex;
align-items: center;
}
.name-container {
margin-right: $--header-spacing;
}
Expand Down Expand Up @@ -729,6 +721,14 @@ $--header-spacing: 20px;
</style>
<style module lang="scss">
.container {
position: relative;
top: -1px;
width: 100%;
display: flex;
align-items: center;
}
.group {
display: flex;
gap: var(--spacing-xs);
Expand Down
6 changes: 4 additions & 2 deletions packages/editor-ui/src/components/TagsManager/NoTagsView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="container">
<div :class="$style.container">
<el-col class="notags" :span="16">
<div class="icon">🗄️</div>
<div>
Expand All @@ -25,7 +25,7 @@ export default defineComponent({
});
</script>

<style lang="scss" scoped>
<style lang="scss" module>
$--footer-spacing: 45px;
.container {
Expand All @@ -34,7 +34,9 @@ $--footer-spacing: 45px;
align-items: center;
margin-top: $--footer-spacing;
}
</style>

<style lang="scss" scoped>
.notags {
word-break: normal;
text-align: center;
Expand Down

0 comments on commit aa397b9

Please sign in to comment.