Make WordPress Core

Changeset 44604


Ignore:
Timestamp:
01/15/2019 07:47:27 AM (8 years ago)
Author:
afercia
Message:

Admin: Use the correct CSS media query for the Help tab on small screens after [44588].

See #43221

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r44588 r44604  
    29272927                height: 46px;
    29282928        }
    2929 
    2930         /* Fix help tab columns for smaller screens */
    2931         #screen-meta #contextual-help-wrap {
    2932                 overflow: visible;
    2933         }
    2934 
    2935         #screen-meta #contextual-help-back,
    2936         #screen-meta .contextual-help-sidebar {
    2937                 display: none;
    2938         }
    2939 
    2940         #screen-meta .contextual-help-tabs {
    2941                 clear: both;
    2942                 width: 100%;
    2943                 float: none;
    2944         }
    2945 
    2946         #screen-meta .contextual-help-tabs ul {
    2947                 margin: 0 0 1em;
    2948                 padding: 1em 0 0;
    2949         }
    2950 
    2951         #screen-meta .contextual-help-tabs .active {
    2952                 margin: 0;
    2953         }
    2954 
    2955         #screen-meta .contextual-help-tabs-wrap {
    2956                 clear: both;
    2957                 max-width: 100%;
    2958                 float: none;
    2959         }
    2960 
    2961         #screen-meta-links {
    2962                 margin-bottom: 60px; /* Add margins beneath links for better spacing between boxes and elements */
    2963         }
    2964 
    29652929}
    29662930
    … …  
    39703934                height: 28px;
    39713935        }
     3936
     3937        /* Fix help tab columns for smaller screens */
     3938        #screen-meta #contextual-help-wrap {
     3939                overflow: visible;
     3940        }
     3941
     3942        #screen-meta #contextual-help-back,
     3943        #screen-meta .contextual-help-sidebar {
     3944                display: none;
     3945        }
     3946
     3947        #screen-meta .contextual-help-tabs {
     3948                clear: both;
     3949                width: 100%;
     3950                float: none;
     3951        }
     3952
     3953        #screen-meta .contextual-help-tabs ul {
     3954                margin: 0 0 1em;
     3955                padding: 1em 0 0;
     3956        }
     3957
     3958        #screen-meta .contextual-help-tabs .active {
     3959                margin: 0;
     3960        }
     3961
     3962        #screen-meta .contextual-help-tabs-wrap {
     3963                clear: both;
     3964                max-width: 100%;
     3965                float: none;
     3966        }
     3967
     3968        #screen-meta-links {
     3969                margin-bottom: 60px; /* Add margins beneath links for better spacing between boxes and elements */
     3970        }
    39723971}
    39733972
Note: See TracChangeset for help on using the changeset viewer.