mirror of https://github.com/w4/bin.git
Same line height on paste submission & view
The line-height on the paste submission form & the paste display page is currently effectively different (due to <code>::before padding-bottom). This commit makes the line height uniform on both pages (leaning towards a higher value for better readability).
This commit is contained in:
parent
8dd038bc60
commit
6e29e2578d
|
@ -13,7 +13,7 @@
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
background: #263238;
|
background: #263238;
|
||||||
color: #B0BEC5;
|
color: #B0BEC5;
|
||||||
line-height: 1.1;
|
line-height: 1.4;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
body, code, textarea { font-family: monospace; }
|
body, code, textarea { font-family: monospace; }
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
content: counter(line);
|
content: counter(line);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 2em; /* Fixed width */
|
width: 2em; /* Fixed width */
|
||||||
padding: 0 1em 0.3em 0;
|
padding: 0 1em 0 0;
|
||||||
margin-right: .5em;
|
margin-right: .5em;
|
||||||
color: #888;
|
color: #888;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
@ -29,4 +29,4 @@
|
||||||
<link rel="stylesheet" type="text/css" href="highlight.css" />
|
<link rel="stylesheet" type="text/css" href="highlight.css" />
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
|
|
||||||
{% block content %}<pre>{{ content|safe }}</pre>{% endblock content %}
|
{% block content %}<pre>{{ content|safe }}</pre>{% endblock content %}
|
||||||
|
|
Loading…
Reference in New Issue