Skip to content

Commit 0f66f22

Browse files
Nicolas MeyertönsNicolas Meyertöns
authored andcommitted
Pastebin goes responsive
- inserted some blank lines - corrected css for textarea (inputbox)
1 parent c54f6a1 commit 0f66f22

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

styles/prosilver/template/pastebin_body.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ <h3>{L_LATEST_SNIPPETS}</h3>
8989
<!-- ENDIF -->
9090

9191

92-
<!-- INCLUDE overall_footer.html -->
92+
<!-- INCLUDE overall_footer.html -->

styles/prosilver/template/pastebin_view.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ <h3>{SNIPPET_TITLE_V}</h3>
2727
<h3>{L_COPY_PASTE}</h3>
2828
<p>
2929
{L_COPY_PASTE_EXPLAIN} {DOWNLOAD_SNIPPET_EXPLAIN}<br />
30-
<textarea id="copy_paste" class="inputbox" rows="5" cols="76" tabindex="4">{SNIPPET_TEXT_ORIG}</textarea>
30+
<div class="textwrapper">
31+
<textarea id="copy_paste" class="inputbox" rows="5" cols="76" tabindex="4">{SNIPPET_TEXT_ORIG}</textarea>
32+
</div>
3133
<input type="button" class="button1" onclick="getElementById('copy_paste').select(); return false;" value="{L_SELECT_CODE}" />
32-
</p>
34+
</p>
35+

styles/prosilver/theme/pastebin.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@
4646
}
4747

4848
#copy_paste.inputbox{
49-
width: 99%;
50-
max-width: 99%;
51-
}
49+
min-width: 100%;
50+
max-width: 100%;
51+
}
52+
53+
.textwrapper{
54+
border: 1px solid;
55+
border-color: #B4BAC0;
56+
padding: 5px;
57+
margin-bottom: 10px;
58+
margin-top: 10px;
59+
}

0 commit comments

Comments
 (0)