Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripta
eScriptorium
Commits
0e495ba6
Commit
0e495ba6
authored
Oct 02, 2020
by
Robin Tissot
Browse files
Fixes text line spaning multiple lines in text panel(?).
parent
7b448bd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/escriptorium/static/css/escriptorium.css
View file @
0e495ba6
...
...
@@ -609,18 +609,18 @@ i.panel-icon {
#diplomatic-lines
div
{
display
:
block
;
line-height
:
1.7rem
;
margin-bottom
:
0px
;
overflow-wrap
:
break-word
;
margin-right
:
.5rem
;
}
#diplomatic-lines
div
:before
{
height
:
100%
;
text-align
:
center
;
counter-increment
:
line
;
content
:
counter
(
line
);
display
:
inline-block
;
content
:
counter
(
line
);
border-right
:
1px
solid
#ddd
;
/* padding: 0 .5em; */
margin-right
:
.5em
;
margin-right
:
.5rem
;
margin-left
:
0
;
width
:
50px
;
color
:
#888
;
...
...
app/escriptorium/static/css/rtl.css
View file @
0e495ba6
...
...
@@ -24,11 +24,13 @@
.rtl
#diplomatic-lines
div
{
/* fixes table like alignment */
text-align
:
right
;
margin-left
:
.5rem
;
padding-right
:
50px
;
}
.rtl
#diplomatic-lines
div
:before
{
margin-
left
:
.5em
;
margin-
right
:
0
;
margin-
right
:
-50px
;
margin-
left
:
.5rem
;
border-left
:
1px
solid
#ddd
;
border-right
:
none
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment