-
diff --git a/resources/sass/app.scss b/resources/sass/app.scss
index 99c6539..53ed8c1 100644
--- a/resources/sass/app.scss
+++ b/resources/sass/app.scss
@@ -4,6 +4,9 @@
// Variables
@import 'variables';
+@import 'bulma';
+@import '~bulma-switch';
+
main.has-top-padding {
padding-top: 4.5rem !important;
}
@@ -33,4 +36,28 @@ main.chisma-abierta {
.container {
max-height: 100% !important;
}
-
\ No newline at end of file
+
+/*
+ Author: Aseem Lalfakawma
+ This SCSS mixin will allow sizing of table columns in Bulma CSS Framework.
+ The Bulma framework does not support this yet, this small code snippet fixes this.
+
+ USAGE:
+ * Should be applied on TH element, it controls all the columns under it *
+ The class should be "is-#",
+ is-1 will give the first widthamount, is-2 will give the second.
+ Eg. The code below shows the widthAmounts as (1, 2.5, 3, 4 , 5, 6, 7)
+ When typing
, the width will be 2.5em, as the second value in widthAmounts array is 2.5
+*/
+
+$widthAmounts: (15); // Just add the numbers here, you can use points too.
+$widthUnit: "em"; // Add the unit here (rem|em|px|%)
+
+@each $width in $widthAmounts {
+ $i: index($widthAmounts, $width);
+ @media only screen and (min-width: 768px) {
+ .table thead th.is-#{$i} {
+ width: #{$width}#{$widthUnit} !important;
+ }
+ }
+}
\ No newline at end of file
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index 48e28bf..012770d 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -12,7 +12,6 @@
-
@yield('stylesheets')