mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-24 07:39:59 +08:00
Applied required changes
This commit is contained in:
@ -17,8 +17,8 @@ class CreateUsersTable extends Migration
|
|||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('email')->unique();
|
$table->string('email')->unique();
|
||||||
$table->string('password', 60);
|
$table->string('password', 60);
|
||||||
$table->rememberToken();
|
|
||||||
$table->string('books_display')->default('grid');
|
$table->string('books_display')->default('grid');
|
||||||
|
$table->rememberToken();
|
||||||
$table->nullableTimestamps();
|
$table->nullableTimestamps();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@ class CreateBooksTable extends Migration
|
|||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('slug')->indexed();
|
$table->string('slug')->indexed();
|
||||||
$table->text('description');
|
$table->text('description');
|
||||||
$table->nullableTimestamps();
|
|
||||||
$table->string('image');
|
$table->string('image');
|
||||||
|
$table->nullableTimestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,6 +276,32 @@ $btt-size: 40px;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.galleryItem {
|
||||||
|
width: 22%;
|
||||||
|
padding: 5px;
|
||||||
|
float: left;
|
||||||
|
height: 330px;
|
||||||
|
margin: 2% 1% 2% 1%;
|
||||||
|
overflow: hidden;
|
||||||
|
border: 1px solid #9e9e9e;
|
||||||
|
h3 {
|
||||||
|
font-size: 1.2em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-size: 0.8em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
height: 192px;
|
||||||
|
width: 120px;
|
||||||
|
margin-top: 5%;
|
||||||
|
}
|
||||||
|
&.collapse {
|
||||||
|
height: 130px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.galleryItem {
|
.galleryItem {
|
||||||
width: 22%;
|
width: 22%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
Reference in New Issue
Block a user