Skip to content

Commit 5a19ac3

Browse files
Merge pull request #1318 from Codeinwp/bugfix/1317
Make layout compatible with wp7.x
2 parents 5e2dd53 + 1bb4adb commit 5a19ac3

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

css/library.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,10 @@ body {
183183
padding: 0 10px;
184184
gap: 6px;
185185
}
186-
.visualizer-chart-action.visualizer-chart-edit .dashicons {
186+
.visualizer-chart-action.visualizer-chart-edit .dashicons,
187+
.visualizer-chart-action.visualizer-nochart-edit .dashicons {
187188
margin-right: 0;
189+
line-height: 1;
188190
}
189191
.visualizer-chart-action.visualizer-chart-edit .tooltip-text {
190192
display: none;
@@ -433,6 +435,8 @@ input:checked + .visualizer-slider:before {
433435

434436
div.visualizer-library-form .viz-filter {
435437
vertical-align: middle;
438+
min-height: 30px;
439+
line-height: 1;
436440
}
437441

438442
button.media-modal-close {
@@ -939,6 +943,8 @@ span.viz-view-toggle-group {
939943
margin-right: 0;
940944
border-top-right-radius: 0;
941945
border-bottom-right-radius: 0;
946+
min-height: 30px;
947+
line-height: 2.15384615;
942948
}
943949

944950
.viz-add-new-toggle {
@@ -1014,3 +1020,15 @@ span.viz-view-toggle-group {
10141020
background: #f6f7f7;
10151021
outline: none;
10161022
}
1023+
1024+
@media screen and (max-width: 782px) {
1025+
.viz-add-new-toggle {
1026+
min-height: 33px;
1027+
}
1028+
}
1029+
1030+
.toplevel_page_visualizer .button,
1031+
.toplevel_page_visualizer button {
1032+
min-height: 30px;
1033+
line-height: 2.15384615;
1034+
}

0 commit comments

Comments
 (0)