Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

structure-flex-grid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

structure-flex-grid - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

demo/src/common/favicon/favicon.ico

20

demo/src/main.ts

@@ -22,2 +22,22 @@ // common styles

});
$(".anchor-link").click(function() {
let targetAnchor = $(this).attr('data-target');
scrollToAnchor(targetAnchor);
});
function scrollToAnchor(aid){
var aTag = $("a[name='"+ aid +"']");
$('html,body').animate({scrollTop: aTag.offset().top - 80},'fast');
}
var sideMenu = $(".side-menu");
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 385) {
sideMenu.addClass("side-menu--fixed");
} else {
sideMenu.removeClass("side-menu--fixed");
}
});
});

2

package.json
{
"name": "structure-flex-grid",
"version": "0.5.2",
"version": "0.5.3",
"description": "Framework agnostic, responsive, BEM-styles Flex Grid (Just the grid)",

@@ -5,0 +5,0 @@ "main": "dist/structure-flex-grid.min.css",

@@ -20,4 +20,11 @@ ## Structure Flex Grid

... coming soon ...
[Go to Demo Page](https://sambhav-gore.github.io/structure-flex-grid/)
#### Attribution
Structure flex grid is inspired from [Dress Code](https://github.com/zalando/dress-code/).
I made Structure as I wanted only the grid without the overhead of all other styles and something which could be easily
combined other libraries such as Angular-Material (as I find the grid in material library very confusing).
In addition, watch this space for more modular libraries in future which would contribute towards making the `Structure Framework`.

@@ -125,3 +125,4 @@ const path = require('path');

new CopyWebpackPlugin([
{from: './demo/src/common/images', to: './images/'}
{from: './demo/src/common/images', to: './images/'},
{from: './demo/src/common/favicon', to: '.'}
]),

@@ -128,0 +129,0 @@ new HtmlWebpackPlugin({

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc