Fix button text wrap

pull/5/head
Cesura 4 years ago
parent 5b678ca70e
commit 7f41194fd2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB

@ -79,16 +79,13 @@
<h1 class="mb-3 h2">Welcome to Pastey</h1>
<p class="mb-3">A lightweight, self-hosted paste platform</p><br />
<div class="row justify-content-md-center">
<div class="col-md-1">
<a class="btn btn-primary m-2" href="/new" role="button" rel="nofollow">New Paste</a>
<div class="col-md-2">
<a class="btn btn-primary text-nowrap m-2" href="/new" role="button" rel="nofollow">New Paste</a>
</div>
{% if show_cli_button %}
<div class="col-md-1">
<div style="margin-top:8px; font-weight:bold; font-size:18px;">or</div>
</div>
<div class="col-md-1">
<a class="btn btn-success m-2" href="{{ script_url }}" role="button"
<div class="col-md-2">
<a class="btn btn-success text-nowrap m-2" href="{{ script_url }}" role="button"
data-mdb-toggle="tooltip"
title="Pastey provides a script that can be used to pipe output directly from the command line">Use CLI</a>
</div>

@ -94,7 +94,7 @@
<input class="form-control pastey-input" id="paste-url" type="text" value="{{ url }}" readonly />
</div>
<div class="col-md-1">
<button type="button" class="btn btn-success" onclick="copyToClipboard()">Copy Link</button>
<button type="button" class="btn btn-success text-nowrap" onclick="copyToClipboard()">Copy Link</button>
</div>
</div>
{% if paste.uses == 0 %}
@ -114,7 +114,7 @@
<form action="/paste" method="POST">
<div class="row">
<div class="col-md-12 mb-4">
<pre class="prettyprint linenums">{% if paste.language == 'Plaintext' %}<span class="nocode">{% endif %}{{ paste.content }}{% if paste.language == 'Plaintext' %}</span>{% endif %}</pre>
<pre class="prettyprint linenums">{{ paste.content }}</pre>
</div>
</div>
</form>

Loading…
Cancel
Save