Skip to content

Commit

Permalink
fix(annotator): column & line numbers are displayed according to their
Browse files Browse the repository at this point in the history
…@n attribute.  gh-76.
  • Loading branch information
geoffroy-noel-ddh committed Sep 27, 2024
1 parent b36e581 commit 321e41b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
13 changes: 12 additions & 1 deletion app/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ The name of the element is inserted into the class attribute:
}
.transcription .sign.bound {
border-color: var(--bound-color);
cursor: pointer;
}
.transcription .sign.selected {
background-color: var(--selected-color);
Expand Down Expand Up @@ -257,7 +258,17 @@ The name of the element is inserted into the class attribute:
text-align: center;
}

br[data-tei-n="1"] {
.column-number:before {
content: 'Column ';
}
.column-number {
font-size: 1.5em;
border-top: 1px solid gray;
display: inline-block;
width: 90%;
}

.tei-ab > br:first-child {
display: none;
}

Expand Down
Loading

0 comments on commit 321e41b

Please sign in to comment.