Skip to content

Commit 79e6c9a

Browse files
Fixed Public Board
1 parent d62dc31 commit 79e6c9a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Productivity Application</title><meta name="description" content="Productivity application built using React, Ant Design, React Router, GraphQL and more."><meta name="author" content="Dhruv Kumar Jha"><link rel="icon" href="/images/favicon.png"><link href="/scripts/styles.css" rel="stylesheet"><link rel="stylesheet" href="/css/style.css"></head><body><div id="application__core"><div class="component__loading full-page"><div class="loading"><div class="bar-container"><div class="bar"></div></div><p class="info">Loading... Please wait.</p></div></div></div><script>window.__API__ENDPOINT__ = "https://pro-app-api.herokuapp.com/graphql";</script><script>!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,f,i,d=0,s=[];d<t.length;d++)f=t[d],o[f]&&s.push(o[f][0]),o[f]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(n&&n(t,c,a);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)i=r(r.s=a[d]);return i};var t={},o={10:0};r.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(u);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+""+({8:"bundle",9:"vendor"}[e]||e)+"."+{0:"e5026e91b9bed59d15ee",1:"b5e29ca4a40c2a74c097",2:"1929cf9d4cbe75d2afe7",3:"a2fd43f7f7cc65111e74",4:"f945c2174d79082265c1",5:"b9fcb09f3eece46a8f7b",6:"7d7fa01b060c06cb93ed",7:"3155bcc84ad546503409",8:"a569b00d0a9612e6e57b",9:"a054a807e2551684ff9a"}[e]+".chunk.js";var u=setTimeout(n,12e4);return a.onerror=a.onload=n,c.appendChild(a),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="/scripts/",r.oe=function(e){throw console.error(e),e}}([]);</script><script defer src="/scripts/vendor.a054a807e2551684ff9a.js"></script><script defer src="/scripts/bundle.a569b00d0a9612e6e57b.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Productivity Application</title><meta name="description" content="Productivity application built using React, Ant Design, React Router, GraphQL and more."><meta name="author" content="Dhruv Kumar Jha"><link rel="icon" href="/images/favicon.png"><link href="/scripts/styles.css" rel="stylesheet"><link rel="stylesheet" href="/css/style.css"></head><body><div id="application__core"><div class="component__loading full-page"><div class="loading"><div class="bar-container"><div class="bar"></div></div><p class="info">Loading... Please wait.</p></div></div></div><script>window.__API__ENDPOINT__ = "https://pro-app-api.herokuapp.com/graphql";</script><script>!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,f,i,d=0,s=[];d<t.length;d++)f=t[d],o[f]&&s.push(o[f][0]),o[f]=0;for(u in c)Object.prototype.hasOwnProperty.call(c,u)&&(e[u]=c[u]);for(n&&n(t,c,a);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)i=r(r.s=a[d]);return i};var t={},o={10:0};r.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(u);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+""+({8:"bundle",9:"vendor"}[e]||e)+"."+{0:"e5026e91b9bed59d15ee",1:"b5e29ca4a40c2a74c097",2:"1929cf9d4cbe75d2afe7",3:"a2fd43f7f7cc65111e74",4:"177f030e3c100a902d52",5:"b9fcb09f3eece46a8f7b",6:"7d7fa01b060c06cb93ed",7:"3155bcc84ad546503409",8:"a569b00d0a9612e6e57b",9:"a054a807e2551684ff9a"}[e]+".chunk.js";var u=setTimeout(n,12e4);return a.onerror=a.onload=n,c.appendChild(a),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="/scripts/",r.oe=function(e){throw console.error(e),e}}([]);</script><script defer src="/scripts/vendor.a054a807e2551684ff9a.js"></script><script defer src="/scripts/bundle.a569b00d0a9612e6e57b.js"></script></body></html>

public/scripts/4.f945c2174d79082265c1.chunk.js renamed to public/scripts/4.177f030e3c100a902d52.chunk.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/scripts/manifest.8d8cd08120bc74d65a9c.js renamed to public/scripts/manifest.75a0999aa8e8a7c9b5f4.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/public/boards/List.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ class PublicList extends Component {
1818

1919
const { data, board } = this.props;
2020

21+
const defaultListWidth = 280; // in pixels.
22+
const space_before = data.meta.space_before ? (defaultListWidth * data.meta.space_before) + 5 : 5;
23+
const space_after = data.meta.space_after ? (defaultListWidth * data.meta.space_after) + 5 : 5;
24+
2125
return (
22-
<div data-list-id={ data.id } className="list">
26+
<div data-list-id={ data.id } className="list" style={{ marginLeft: space_before, marginRight: space_after }}>
2327
<div className="content" style={{ backgroundColor: data.meta.background_color || null }}>
2428

2529
<header>

0 commit comments

Comments
 (0)