From e19f0050bb26c06811432ce5568768960f50c63f Mon Sep 17 00:00:00 2001 From: Dave Rapin Date: Tue, 26 Sep 2023 08:19:42 -0400 Subject: [PATCH] Better fix for overflow scrolling of table. --- prod.min.js | 2 +- src/DrawSchedule.elm | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/prod.min.js b/prod.min.js index 5d30587..3d6bc1f 100644 --- a/prod.min.js +++ b/prod.min.js @@ -1 +1 @@ -!function(u){"use strict";function B(n,r,t){return t.a=n,t.f=r,t}function w(t){return B(2,t,function(r){return function(n){return t(r,n)}})}function k(e){return B(3,e,function(t){return function(r){return function(n){return e(t,r,n)}}})}function n(u){return B(4,u,function(e){return function(t){return function(r){return function(n){return u(e,t,r,n)}}}})}function r(a){return B(5,a,function(u){return function(e){return function(t){return function(r){return function(n){return a(u,e,t,r,n)}}}}})}function a(o){return B(6,o,function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return o(a,u,e,t,r,n)}}}}}})}function J(i){return B(7,i,function(o){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return i(o,a,u,e,t,r,n)}}}}}}})}function D(f){return B(8,f,function(i){return function(o){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return f(i,o,a,u,e,t,r,n)}}}}}}}})}function H(c){return B(9,c,function(f){return function(i){return function(o){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return c(f,i,o,a,u,e,t,r,n)}}}}}}}}})}function x(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function A(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function s(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function _(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function M(n,r,t,e,u,a,o){return 6===n.a?n.f(r,t,e,u,a,o):n(r)(t)(e)(u)(a)(o)}function z(n,r,t,e,u,a,o,i){return 7===n.a?n.f(r,t,e,u,a,o,i):n(r)(t)(e)(u)(a)(o)(i)}var I=k(function(n,r,t){for(var e=Array(n),u=0;u"),r});function Z(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function j(n,r){for(var t,e=[],u=V(n,r,0,e);u&&(t=e.pop());u=V(t.a,t.b,0,e));return u}function V(n,r,t,e){if(100a||a>56319?(e[u]=n(r[u]),u++):(e[u]=n(r[u]+r[u+1]),u+=2)}return e.join("")}),w(function(n,r){for(var t=[],e=r.length,u=0;uo)return u}var d=t.$;if(4===d){for(var v=t.k;4===v.$;)v=v.k;return n(r,v,e,u,a+1,o,r.elm_event_node_ref)}var l=t.e;var $=r.childNodes;for(var h=0;ho))return u;a=p}return u}(n,r,t,0,0,r.b,e)}function gr(n,r,t,e){return 0===t.length?n:(hr(n,r,t,e),pr(n,t))}function pr(n,r){for(var t=0;t"),r});function Z(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}function j(n,r){for(var t,e=[],u=V(n,r,0,e);u&&(t=e.pop());u=V(t.a,t.b,0,e));return u}function V(n,r,t,e){if(100a||a>56319?(e[u]=n(r[u]),u++):(e[u]=n(r[u]+r[u+1]),u+=2)}return e.join("")}),w(function(n,r){for(var t=[],e=r.length,u=0;uo)return u}var d=t.$;if(4===d){for(var v=t.k;4===v.$;)v=v.k;return n(r,v,e,u,a+1,o,r.elm_event_node_ref)}var l=t.e;var $=r.childNodes;for(var h=0;ho))return u;a=p}return u}(n,r,t,0,0,r.b,e)}function gr(n,r,t,e){return 0===t.length?n:(hr(n,r,t,e),pr(n,t))}function pr(n,r){for(var t=0;t Schedule -> Html Msg viewSchedule model schedule = div [ class "container-fluid pt-3 pb-3" - , style "overflow" "auto" , onClick BlurredDrawSheet ] [ viewDrawsContainer model schedule @@ -699,12 +698,14 @@ viewSchedule model schedule = viewDrawsContainer : Model -> Schedule -> Html Msg viewDrawsContainer model schedule = - table - [ class "table table-sm table-borderless table-striped" - , style "table-layout" "fixed" - ] - [ viewSheets schedule - , viewDraws model schedule + div [ class "table-responsive mb-2" ] + [ table + [ class "table table-sm table-borderless table-striped" + , style "table-layout" "fixed" + ] + [ viewSheets schedule + , viewDraws model schedule + ] ]