mirror of
https://github.com/purocean/yn.git
synced 2026-10-16 07:26:07 +08:00
fix: 修复表格行号展示问题
This commit is contained in:
@@ -491,19 +491,18 @@ export default defineComponent({
|
||||
table.source-line tbody {
|
||||
counter-reset: tr-number;
|
||||
|
||||
tr {
|
||||
&:hover {
|
||||
outline: 2px #b3833b dashed;
|
||||
}
|
||||
&:hover td:first-child:before {
|
||||
counter-increment: tr-number;
|
||||
content: counter(tr-number);
|
||||
position: absolute;
|
||||
right: 100%;
|
||||
padding-right: 5px;
|
||||
color: #999;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
td:first-child:before {
|
||||
counter-increment: tr-number;
|
||||
content: counter(tr-number);
|
||||
position: absolute;
|
||||
right: 100%;
|
||||
padding-right: 5px;
|
||||
color: #999;
|
||||
}
|
||||
tr:hover {
|
||||
outline: 2px #b3833b dashed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user