File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -303,13 +303,31 @@ function perflab_print_features_page_style(): void {
303303 margin-left: 0;
304304 }
305305 .plugin-card-top {
306- /* This is required to ensure the Settings link does not extend below the bottom of a plugin card on a wide screen */
306+ /* This is required to ensure the Settings link does not extend below the bottom of a plugin card on a wide screen. */
307307 min-height: 90px;
308308 }
309+ @media screen and (max-width: 782px) {
310+ .plugin-card-top {
311+ /* Same reason as above, but now the button is taller to make it easier to tap on touch screens. */
312+ min-height: 110px;
313+ }
314+ }
309315 .plugin-card .perflab-plugin-experimental {
310316 font-size: 80%;
311317 font-weight: normal;
312318 }
319+
320+ @media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) {
321+ .plugin-card .action-links {
322+ margin-left: auto;
323+ }
324+ /* Make sure the settings link gets spaced out from the Learn more link. */
325+ .plugin-card .plugin-action-buttons > li:nth-child(3) {
326+ margin-left: 2ex;
327+ border-left: solid 1px;
328+ padding-left: 2ex;
329+ }
330+ }
313331</style>
314332 <?php
315333}
You can’t perform that action at this time.
0 commit comments