Move some styles to scoped

This commit is contained in:
Hirame1 2022-04-24 09:46:38 +07:00
parent cf606eb442
commit 0cb81aad2c
4 changed files with 13 additions and 15 deletions

View File

@ -280,12 +280,6 @@
cursor: pointer;
}
.c-automator-docs-template--button {
margin: 0.4rem;
border-radius: 0.3rem;
cursor: pointer;
}
.o-automator-error-underline {
display: inline-block;
position: relative;

View File

@ -8861,14 +8861,6 @@ kbd {
cursor: grab;
}
.o-automator-block-list {
display: flex;
justify-content: center;
text-align: center;
align-items: center;
height: 5.5rem;
}
.c-automator-docs .o-automator-command {
margin-bottom: 0.5rem;
margin-right: 0.5rem;

View File

@ -160,4 +160,12 @@ export const automatorBlocksMap = automatorBlocks.mapToObject(b => b.cmd, b => b
align-items: center;
flex-wrap: wrap;
}
.o-automator-block-list {
display: flex;
justify-content: center;
text-align: center;
align-items: center;
height: 5.5rem;
}
</style>

View File

@ -30,5 +30,9 @@ export default {
</template>
<style scoped>
.c-automator-docs-template--button {
margin: 0.4rem;
border-radius: 0.3rem;
cursor: pointer;
}
</style>