Skip to content

Commit bd8de3f

Browse files
committed
Fix notebooks view
1 parent 8e9dbfb commit bd8de3f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

_includes/notebook-carousel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
For each workflow we have both 2D and 3D versions:
22

3-
<div class="grid grid-cols-7">
3+
<div class="grid grid-cols-8">
44
<div onclick="window.open('https://colab.research.google.com/github/BiaPyX/BiaPy/blob/master/notebooks/classification/BiaPy_2D_Classification.ipynb');" class="flex h-full flex-col gap-2 rounded border-gray-light-100 bg-gray bg-white p-4 drop-shadow-sm hover:border-gray-light-200 hover:drop-shadow-lg container-card">
55
<div class="notebook-card">
66
<span>
@@ -133,7 +133,7 @@
133133

134134
For just predicting/inference you can use the following notebook:
135135

136-
<div class="grid grid-cols-7">
136+
<div class="grid grid-cols-8-inf">
137137
<div onclick="window.open('https://colab.research.google.com/github/BiaPyX/BiaPy/blob/master/notebooks/BiaPy_Inference.ipynb');" class="flex h-full flex-col gap-2 rounded border-gray-light-100 bg-gray bg-white p-4 drop-shadow-sm hover:border-gray-light-200 hover:drop-shadow-lg container-card">
138138
<div class="notebook-card">
139139
<span>

_sass/_theme.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,13 @@ select {
444444
.grid-cols-2 {
445445
grid-template-columns: repeat(2,minmax(0,1fr));
446446
}
447-
.grid-cols-7 {
447+
.grid-cols-8-inf {
448+
grid-template-columns: repeat(8,minmax(160px,1fr));
449+
}
450+
.grid-cols-8 {
448451
grid-gap: 16px;
449452
padding: 16px;
450-
grid-template-columns: repeat(7,minmax(160px,1fr));
453+
grid-template-columns: repeat(8,minmax(160px,1fr));
451454
overflow-x: auto;
452455
}
453456
.grid {

0 commit comments

Comments
 (0)