Plugin Directory

Changeset 2908096


Ignore:
Timestamp:
05/04/2023 03:05:27 PM (23 months ago)
Author:
followalter
Message:

fix for single column page

Location:
admin-sticky-sidebar
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • admin-sticky-sidebar/trunk/admin-sticky-sidebar.css

    r2888166 r2908096  
    77.body--ass #postbox-container-1 {
    88  position: sticky;
    9   z-index: 1;
    109  top: 50px; /* overwritten in js */
    1110  right: 20px;
     11  z-index: 1;
     12
     13  margin-top: -92px; /* overwritten in js */
     14  margin-left: auto;
    1215
    1316  height: 0;
    14   margin-top: -92px; /* overwritten in js */
    15   margin-left: auto;
    1617
    1718  transition: top 0.2s;
     
    2425.body--ass #postbox-container-2 .inside {
    2526  display: inline-block;
     27
    2628  width: 100%;
     29}
     30
     31.body--ass .columns-1 #postbox-container-1 {
     32  margin-top: 0 !important; /* overwritten in js */
     33
     34  height: auto;
     35}
     36
     37.body--ass .columns-1 #postbox-container-2 {
     38  float: left;
    2739}
    2840
    2941@media (max-width: 1200px) {
    3042  .body--ass .post-type-attachment #postbox-container-1 {
     43    margin-top: 0 !important;
     44
    3145    height: auto;
    32     margin-top: 0 !important;
    3346  }
    3447}
     
    3649@media (max-width: 850px) {
    3750  .body--ass #postbox-container-1 {
     51    margin-top: 0 !important;
     52
    3853    height: auto;
    39     margin-top: 0 !important;
    4054  }
    4155
  • admin-sticky-sidebar/trunk/admin-sticky-sidebar.php

    r2898448 r2908096  
    33Plugin Name: Admin Sticky Sidebar
    44Description: Makes the sidebar follow you when you scroll and remembers scroll position on update. For more info, see the readme.
    5 Version: 1.5.3
     5Version: 1.6
    66Author: Tom Walter
    77Author URI: https://littlefragments.com
     
    1313{
    1414  // only add to the post.php admin page.
    15   wp_enqueue_style('admin-sticky-sidebar-style',  plugins_url('admin-sticky-sidebar.css?v=1.5.3', __FILE__));
     15  wp_enqueue_style('admin-sticky-sidebar-style',  plugins_url('admin-sticky-sidebar.css?v=1.6', __FILE__));
    1616}
    1717add_action('admin_enqueue_scripts', 'admin_sticky_sidebar_css');
     
    2323{
    2424  // only add to the post.php admin page.
    25   wp_enqueue_script('admin-sticky-sidebar-script', plugins_url('admin-sticky-sidebar.js?v=1.5.3', __FILE__));
     25  wp_enqueue_script('admin-sticky-sidebar-script', plugins_url('admin-sticky-sidebar.js?v=1.6', __FILE__));
    2626}
    2727add_action('admin_enqueue_scripts', 'admin_sticky_sidebar_js');
  • admin-sticky-sidebar/trunk/readme.txt

    r2898448 r2908096  
    44Tags: admin, sticky, fixed, floating, float, sidebar, submit, publish, update, box, modal, scroll, timesaver, lifehack, lifesaver, float
    55Requires at least: 5.0
    6 Tested up to: 6.2
    7 Stable tag: 1.5.3
     6Tested up to: 6.3
     7Stable tag: 1.6
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    7070= 1.5.3 =
    7171* Tested with Wordpress 6.2
     72
     73= 1.5.4 =
     74* Cleanup
     75
     76= 1.6 =
     77* Fix for single column page
Note: See TracChangeset for help on using the changeset viewer.