Skip to content

Commit a5036d7

Browse files
align button and types bar
1 parent 07b9f74 commit a5036d7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

classes/Visualizer/Render/Library.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ private function _renderLibrary() {
114114
}
115115
echo '</ul>';
116116
echo '<form action="" method="get"><p id="visualizer-search" class="search-box">
117-
<input type="search" name="s" value="' . $filterBy . '">
117+
<input type="search" placeholder="' . __( 'Enter title', 'visualizer' ). '" name="s" value="' . $filterBy . '">
118118
<input type="hidden" name="page" value="visualizer">
119-
<input type="submit" id="search-submit" class="button button-secondary" value="' . esc_attr__( 'Search', 'visualizer' ) . '">
119+
<input type="submit" id="search-submit" class="button button-secondary" value="' . esc_attr__( 'Search title', 'visualizer' ) . '">
120120
</p> </form>';
121121
echo '</div>';
122122
echo '<div id="visualizer-content-wrapper">';

css/library.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,9 @@ button.media-modal-close {
305305
/* chartjs */
306306
#visualizer-library canvas.chartjs-render-monitor {
307307
height: 100% !important;
308+
}
309+
310+
div#visualizer-types ul, div#visualizer-types form p {
311+
vertical-align: middle;
312+
margin: 0;
308313
}

0 commit comments

Comments
 (0)