mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-26 15:43:59 +03:00
fix(Sed Cheatsheet): naming and table formatting
This commit is contained in:
1 parent
603140a25d
commit
1d737a0bc3
2 files changed
+10
-3
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useThemeVars } from 'naive-ui';
|
import { useThemeVars } from 'naive-ui';
|
||||||
import Memo from './sed-memo.md';
|
import Memo from './sed.md';
|
||||||
|
|
||||||
const themeVars = useThemeVars();
|
const themeVars = useThemeVars();
|
||||||
</script>
|
</script>
|
||||||
@@ -17,9 +17,16 @@ const themeVars = useThemeVars();
|
|||||||
padding: 15px 22px;
|
padding: 15px 22px;
|
||||||
background-color: v-bind('themeVars.cardColor');
|
background-color: v-bind('themeVars.cardColor');
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
white-space: pre-wrap;
|
overflow: auto;
|
||||||
|
}
|
||||||
|
::v-deep(table) {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
::v-deep(table), ::v-deep(td), ::v-deep(th) {
|
||||||
|
border: 1px solid v-bind('themeVars.textColor1');
|
||||||
|
padding: 5px;
|
||||||
}
|
}
|
||||||
::v-deep(a) {
|
::v-deep(a) {
|
||||||
color: v-bind('themeVars.textColor3');
|
color: v-bind('themeVars.textColor1');
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
File renamed without changes.
Reference in new issue
Block a user