Plugin Directory

Changeset 3439731


Ignore:
Timestamp:
01/14/2026 05:21:18 PM (3 months ago)
Author:
rankauthority
Message:

Fix Button width, images alignment

Location:
rank-authority
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • rank-authority/trunk/rank-authority.php

    r3439729 r3439731  
    44 * Plugin URI: https://rankauthority.com/plugins/rankauthority
    55 * Description: Secure API connector to publish posts / overwrite posts from the RA Dashboard to WordPress.
    6  * Version: 1.0.5
     6 * Version: 1.0.6
    77 * Author: Rank Authority
    88 * Author URI: https://rankauthority.com
     
    293293        .rank-authority-btn {
    294294            flex: 1;
     295            min-width: 0;
    295296            padding: 14px 20px;
    296297            border-radius: 12px;
     
    304305            justify-content: center;
    305306            gap: 8px;
     307            white-space: nowrap;
    306308        }
    307309
     
    371373            gap: 12px;
    372374            margin-bottom: 24px;
     375            align-items: stretch;
    373376        }
    374377
     
    378381            padding: 16px;
    379382            text-align: center;
     383            display: flex;
     384            flex-direction: column;
     385            align-items: center;
     386            justify-content: flex-start;
     387            min-height: 100%;
    380388        }
    381389
     
    383391            font-size: 28px;
    384392            margin-bottom: 10px;
     393            line-height: 1;
     394            display: flex;
     395            align-items: center;
     396            justify-content: center;
    385397        }
    386398
     
    390402            color: #475569;
    391403            margin-bottom: 4px;
     404            line-height: 1.2;
    392405        }
    393406
     
    396409            color: #94a3b8;
    397410            line-height: 1.4;
     411            margin: 0;
    398412        }
    399413
     
    626640        $website_id = get_option($this->option_website_id);
    627641        $token = get_option($this->option_token);
    628         $plugin_version = get_file_data(__FILE__, array('Version' => 'Version'), false)['Version'] ?? '1.0.5';
     642        $plugin_version = get_file_data(__FILE__, array('Version' => 'Version'), false)['Version'] ?? '1.0.6';
    629643
    630644        ?>
     
    670684                        <div class="rank-authority-token-value" id="rank-authority-token-value"><?php echo esc_html($token); ?></div>
    671685                        <div class="rank-authority-token-actions">
    672                             <button type="button" class="rank-authority-btn rank-authority-btn-copy" id="rank-authority-copy-btn">
     686                            <button type="button" class="rank-authority-btn rank-authority-btn-copy" id="rank-authority-copy-btn" style="flex: 1;">
    673687                                <svg width="18" height="18" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"/></svg>
    674688                                Copy Token
    675689                            </button>
    676690                            <?php if ($current_user_id === $owner_id): ?>
    677                             <form method="post" style="flex:1; margin:0; display:flex;">
     691                            <form method="post" style="flex:1; margin:0; display:flex; min-width:0;">
    678692                                <?php wp_nonce_field('ra_regenerate_token'); ?>
    679                                 <button type="submit" name="ra_regenerate_token" class="rank-authority-btn rank-authority-btn-reset" style="width:100%;" onclick="return confirm('Are you sure? This will invalidate your current token.');">
     693                                <button type="submit" name="ra_regenerate_token" class="rank-authority-btn rank-authority-btn-reset" style="flex: 1; width:100%;" onclick="return confirm('Are you sure? This will invalidate your current token.');">
    680694                                    <svg width="18" height="18" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"/></svg>
    681695                                    Reset
  • rank-authority/trunk/readme.txt

    r3439729 r3439731  
    88Tested up to: 6.9
    99Requires PHP: 7.4
    10 Stable tag: 1.0.5
     10Stable tag: 1.0.6
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    139139== Changelog ==
    140140
     141= 1.0.6 =
     142* Fixed Copy Token and Reset button widths to be perfectly equal
     143* Improved button flex layout with min-width and white-space properties
     144* Enhanced button alignment and visual consistency
     145
    141146= 1.0.5 =
    142147* Fixed Reset button width to match Copy button width
     
    179184== Upgrade Notice ==
    180185
     186= 1.0.6 =
     187Fixed button width alignment - Copy Token and Reset buttons now have perfectly equal widths.
     188
    181189= 1.0.5 =
    182190Minor UI improvements: Reset button width fix and improved admin menu icon styling.
Note: See TracChangeset for help on using the changeset viewer.