Skip to content

Commit

Permalink
fix: 修复标签样式错乱问题
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Jan 2, 2023
1 parent c633334 commit f489996
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/style.css
Expand Up @@ -129,7 +129,7 @@ code {

.el-tag {
margin-right: 10px;
/*margin-bottom: 10px;*/
margin-bottom: 10px;
}

.el-alert {
Expand Down
13 changes: 12 additions & 1 deletion components/anki/AnkiIndex.vue
@@ -1,5 +1,5 @@
<!--
- Copyright (c) 2022, Terwer . All rights reserved.
- Copyright (c) 2022-2023, Terwer . All rights reserved.
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -321,13 +321,24 @@ onMounted(async () => {
})
</script>
<style>
.anki-deck .el-form-item__label {
margin-top: -4px !important;
}
.anki-tags .el-form-item__label {
margin-top: -4px !important;
}
</style>
<style scoped>
.anki-body {
padding: 16px;
}
.block-title {
margin-bottom: 16px;
}
.anki-card-col {
margin: 8px 0;
}
Expand Down

0 comments on commit f489996

Please sign in to comment.