Skip to content

Commit 862bc22

Browse files
committed
Changes to button icon margins for new ui style in 7.0
1 parent 6c686a6 commit 862bc22

3 files changed

Lines changed: 5 additions & 14 deletions

File tree

assets/css/src/admin/_dashboard.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,11 @@
119119
flex-wrap: wrap;
120120
gap: 10px;
121121
justify-content: flex-end;
122-
123122
a {
124123
display: flex;
125124
align-items: center;
126125
white-space: nowrap;
127126
text-decoration: none;
128-
129-
.dashicons {
130-
@media (max-width: 782px) {
131-
margin-top: 8px !important;
132-
}
133-
}
134127
}
135128
}
136129
}
@@ -285,12 +278,10 @@
285278
flex-wrap: wrap;
286279
gap: 10px;
287280
justify-content: flex-end;
288-
289281
a {
290282
display: flex;
291283
align-items: center;
292284
white-space: nowrap;
293-
294285
.dashicons {
295286
@media (max-width: 782px) {
296287
margin-top: 8px !important;
@@ -511,4 +502,4 @@
511502
&-no-posts {
512503
margin: 0;
513504
}
514-
}
505+
}

internet-archive-wayback-machine-link-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Description: This plugin scans your content for links, replacing broken ones with archived versions from the Wayback Machine. It also features Auto Archiving, which automatically creates snapshots of your own pages and any other links on your site that aren’t yet archived, ensuring long-term accessibility.
1515
* Version: 1.4.0-RC1
1616
* Requires at least: 6.4
17-
* Tested up to: 6.9
17+
* Tested up to: 7.0
1818
* Requires PHP: 7.4
1919
* Author: Internet Archive
2020
* Author URI: https://archive.org

templates/admin/dashboard/widget.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,16 +151,16 @@
151151
<div class="iawmlf_dashboard-navigation">
152152
<?php if ( ! Dashboard_Page::is_current_page() ) : ?>
153153
<a href="<?php echo esc_url( Dashboard_Page::get_page_url() ); ?>" class="button">
154-
<span class="dashicons dashicons-dashboard" style="margin-top: 3px;"></span>
154+
<span class="dashicons dashicons-dashboard"></span>
155155
<span class="link-text"><?php esc_html_e( 'Dashboard', 'internet-archive-wayback-machine-link-fixer' ); ?></span>
156156
</a>
157157
<?php endif; ?>
158158
<a href="<?php echo esc_url( $iawmlf_link_to_settings ); ?>" class="button">
159-
<span class="dashicons dashicons-admin-settings" style="margin-top: 3px;"></span>
159+
<span class="dashicons dashicons-admin-settings"></span>
160160
<span class="link-text"><?php esc_html_e( 'Advanced Settings', 'internet-archive-wayback-machine-link-fixer' ); ?></span>
161161
</a>
162162
<a href="<?php echo esc_url( $iawmlf_link_table ); ?>" class="button">
163-
<span class="dashicons dashicons-list-view" style="margin-top: 3px;"></span>
163+
<span class="dashicons dashicons-list-view"></span>
164164
<span class="link-text">
165165
<?php
166166
printf(

0 commit comments

Comments
 (0)