Plugin Directory

Changeset 2723427


Ignore:
Timestamp:
05/13/2022 03:21:52 PM (3 years ago)
Author:
followalter
Message:

firefox fix

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

Legend:

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

    r2723283 r2723427  
    22#post-body-content {
    33  float: none;
     4
    45  margin-bottom: 40px;
    56}
     
    78#postbox-container-1 {
    89  position: sticky;
     10  z-index: 1;
    911  top: 50px; /* overwritten in js */
    1012  right: 20px;
    11   z-index: 1;
    1213
     14  height: 0;
    1315  margin-top: -92px; /* overwritten in js */
    1416  margin-left: auto;
    15 
    16   height: 0;
    1717
    1818  transition: top 0.2s;
     
    2424
    2525#postbox-container-2 .inside {
    26   display: flex;
    27   flex-direction: column;
     26  display: inline-block;
     27
     28  width: 100%;
    2829}
    2930
    3031@media (max-width: 850px) {
    3132  #postbox-container-1 {
     33    height: auto;
    3234    margin-top: 0;
    33 
    34     height: auto;
    3535  }
    3636
  • admin-sticky-sidebar/trunk/admin-sticky-sidebar.php

    r2723283 r2723427  
    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.4
     5Version: 1.4.1
    66Author: Tom Walter
    77Author URI: https://littlefragments.com
     
    1313  // only add to the post.php admin page.
    1414  if ('post.php' !== $hook) return;
    15   wp_enqueue_style( 'admin-sticky-sidebar-style',  plugins_url( 'admin-sticky-sidebar.css?v=1.4' , __FILE__ ));
     15  wp_enqueue_style( 'admin-sticky-sidebar-style',  plugins_url( 'admin-sticky-sidebar.css?v=1.4.1' , __FILE__ ));
    1616}
    1717add_action('admin_enqueue_scripts', 'admin_sticky_sidebar_css');
     
    2323  // only add to the post.php admin page.
    2424  if ('post.php' !== $hook) return;
    25   wp_enqueue_script('admin-sticky-sidebar-script', plugins_url( 'admin-sticky-sidebar.js?v=1.4' , __FILE__ ));
     25  wp_enqueue_script('admin-sticky-sidebar-script', plugins_url( 'admin-sticky-sidebar.js?v=1.4.1' , __FILE__ ));
    2626}
    2727add_action('admin_enqueue_scripts', 'admin_sticky_sidebar_js');
  • admin-sticky-sidebar/trunk/readme.txt

    r2723283 r2723427  
    55Requires at least: 5.0
    66Tested up to: 5.9.3
    7 Stable tag: 1.4
     7Stable tag: 1.4.1
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    5252* Tested with Wordpress 5.9.3
    5353* Fix for Firefox scroll bug
     54
     55= 1.4.1 =
     56* Additional Firefox fix
Note: See TracChangeset for help on using the changeset viewer.