Removed useless width for BBCode buttons (#1180)

This commit is contained in:
Roman Kelesidis 2023-11-30 15:49:37 +07:00 committed by GitHub
commit d17ac37ac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 23 deletions

View file

@ -171,16 +171,16 @@ switch ($this->request['type']) {
<form action="' . POSTING_URL . '" method="post" name="post"> <form action="' . POSTING_URL . '" method="post" name="post">
' . $hidden_form . ' ' . $hidden_form . '
<div class="buttons mrg_4"> <div class="buttons mrg_4">
<input type="button" value="B" name="codeB" title="' . $lang['BOLD'] . '" style="font-weight: bold; width: 25px;" /> <input type="button" value="B" name="codeB" title="' . $lang['BOLD'] . '" style="font-weight: bold;" />
<input type="button" value="i" name="codeI" title="' . $lang['ITALIC'] . '" style="width: 25px; font-style: italic;" /> <input type="button" value="i" name="codeI" title="' . $lang['ITALIC'] . '" style="font-style: italic;" />
<input type="button" value="u" name="codeU" title="' . $lang['UNDERLINE'] . '" style="width: 25px; text-decoration: underline;" /> <input type="button" value="u" name="codeU" title="' . $lang['UNDERLINE'] . '" style="text-decoration: underline;" />
<input type="button" value="s" name="codeS" title="' . $lang['STRIKEOUT'] . '" style="width: 25px; text-decoration: line-through;" />&nbsp;&nbsp; <input type="button" value="s" name="codeS" title="' . $lang['STRIKEOUT'] . '" style="text-decoration: line-through;" />&nbsp;&nbsp;
<input type="button" value="' . $lang['QUOTE'] . '" name="codeQuote" title="' . $lang['QUOTE_TITLE'] . '" style="width: 57px;" /> <input type="button" value="' . $lang['QUOTE'] . '" name="codeQuote" title="' . $lang['QUOTE_TITLE'] . '" />
<input type="button" value="Img" name="codeImg" title="' . $lang['IMG_TITLE'] . '" style="width: 40px;" /> <input type="button" value="Img" name="codeImg" title="' . $lang['IMG_TITLE'] . '" />
<input type="button" value="' . $lang['URL'] . '" name="codeUrl" title="' . $lang['URL_TITLE'] . '" style="width: 63px; text-decoration: underline;" />&nbsp; <input type="button" value="' . $lang['URL'] . '" name="codeUrl" title="' . $lang['URL_TITLE'] . '" style="text-decoration: underline;" />&nbsp;
<input type="button" value="' . $lang['CODE'] . '" name="codeCode" title="' . $lang['CODE_TITLE'] . '" style="width: 43px;" /> <input type="button" value="' . $lang['CODE'] . '" name="codeCode" title="' . $lang['CODE_TITLE'] . '" />
<input type="button" value="' . $lang['LIST'] . '" name="codeList" title="' . $lang['LIST_TITLE'] . '" style="width: 60px;" /> <input type="button" value="' . $lang['LIST'] . '" name="codeList" title="' . $lang['LIST_TITLE'] . '" />
<input type="button" value="1." name="codeOpt" title="' . $lang['LIST_ITEM'] . '" style="width: 30px;" />&nbsp; <input type="button" value="1." name="codeOpt" title="' . $lang['LIST_ITEM'] . '" />&nbsp;
<input type="button" value="' . $lang['QUOTE_SEL'] . '" name="quoteselected" title="' . $lang['QUOTE_SELECTED'] . '" onclick="bbcode.onclickQuoteSel();" />&nbsp; <input type="button" value="' . $lang['QUOTE_SEL'] . '" name="quoteselected" title="' . $lang['QUOTE_SELECTED'] . '" onclick="bbcode.onclickQuoteSel();" />&nbsp;
</div> </div>
<textarea id="message-' . $post_id . '" class="editor mrg_4" name="message" rows="18" cols="92">' . $post['post_text'] . '</textarea> <textarea id="message-' . $post_id . '" class="editor mrg_4" name="message" rows="18" cols="92">' . $post['post_text'] . '</textarea>

View file

@ -72,9 +72,9 @@ ajax.callback.posts = function(data) {
<span class="buttons"> <span class="buttons">
<input type="button" value="sup" name="codeSup" title="{L_SUPERSCRIPT}" /> <input type="button" value="sup" name="codeSup" title="{L_SUPERSCRIPT}" />
<input type="button" value="sub" name="codeSub" title="{L_SUBSCRIPT}" />&nbsp; <input type="button" value="sub" name="codeSub" title="{L_SUBSCRIPT}" />&nbsp;
<input type="button" value="&#8212;" name="codeHR" title="{L_HOR_LINE}" style="font-weight: bold; width: 26px;" /> <input type="button" value="&#8212;" name="codeHR" title="{L_HOR_LINE}" style="font-weight: bold;" />
<input type="button" value="&para;" name="codeBR" title="{L_NEW_LINE}" style="width: 26px;" />&nbsp; <input type="button" value="&para;" name="codeBR" title="{L_NEW_LINE}" />&nbsp;
<input type="button" value="{L_SPOILER}" name="codeSpoiler" title="{L_SPOILER}" style="width: 65px;" /> <input type="button" value="{L_SPOILER}" name="codeSpoiler" title="{L_SPOILER}" />
</span> </span>
<div class="buttons floatR"> <div class="buttons floatR">
@ -85,16 +85,16 @@ ajax.callback.posts = function(data) {
<!-- ENDIF / !QUICK_REPLY --> <!-- ENDIF / !QUICK_REPLY -->
<div class="buttons mrg_4"> <div class="buttons mrg_4">
<input type="button" value="B" name="codeB" title="{L_BOLD}" style="font-weight: bold; width: 25px;" /> <input type="button" value="B" name="codeB" title="{L_BOLD}" style="font-weight: bold;" />
<input type="button" value="i" name="codeI" title="{L_ITALIC}" style="width: 25px; font-style: italic;" /> <input type="button" value="i" name="codeI" title="{L_ITALIC}" style="font-style: italic;" />
<input type="button" value="u" name="codeU" title="{L_UNDERLINE}" style="width: 25px; text-decoration: underline;" /> <input type="button" value="u" name="codeU" title="{L_UNDERLINE}" style="text-decoration: underline;" />
<input type="button" value="s" name="codeS" title="{L_STRIKEOUT}" style="width: 25px; text-decoration: line-through;" />&nbsp; <input type="button" value="s" name="codeS" title="{L_STRIKEOUT}" style="text-decoration: line-through;" />&nbsp;
<input type="button" value="{L_QUOTE}" name="codeQuote" title="{L_QUOTE_TITLE}" style="width: 57px;" /> <input type="button" value="{L_QUOTE}" name="codeQuote" title="{L_QUOTE_TITLE}" />
<input type="button" value="Img" name="codeImg" title="{L_IMG_TITLE}" style="width: 40px;" /> <input type="button" value="Img" name="codeImg" title="{L_IMG_TITLE}" />
<input type="button" value="{L_URL}" name="codeUrl" title="{L_URL_TITLE}" style="width: 63px; text-decoration: underline;" />&nbsp; <input type="button" value="{L_URL}" name="codeUrl" title="{L_URL_TITLE}" style="text-decoration: underline;" />&nbsp;
<input type="button" value="{L_CODE}" name="codeCode" title="{L_CODE_TITLE}" style="width: 43px;" /> <input type="button" value="{L_CODE}" name="codeCode" title="{L_CODE_TITLE}" />
<input type="button" value="{L_LIST}" name="codeList" title="{L_LIST_TITLE}" style="width: 60px;"/> <input type="button" value="{L_LIST}" name="codeList" title="{L_LIST_TITLE}" />
<input type="button" value="1." name="codeOpt" title="{L_LIST_ITEM}" style="width: 30px;" />&nbsp; <input type="button" value="1." name="codeOpt" title="{L_LIST_ITEM}" />&nbsp;
<input type="button" value="{L_QUOTE_SEL}" name="quoteselected" title="{L_QUOTE_SELECTED}" onclick="bbcode.onclickQuoteSel();" /> <input type="button" value="{L_QUOTE_SEL}" name="quoteselected" title="{L_QUOTE_SELECTED}" onclick="bbcode.onclickQuoteSel();" />
</div> </div>