Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit d18018b

Browse files
committed
typo
1 parent 63c0a6a commit d18018b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Models/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ class Menu extends Model
1010

1111
public function pages()
1212
{
13-
return $this->belongsToMany(Page::class)->withPivot('order');
13+
return $this->belongsToMany(config('simpleMenu.models.page'))->withPivot('order');
1414
}
1515
}

src/Models/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Page extends Node
3131

3232
public function menus()
3333
{
34-
return $this->belongsToMany(Menu::class);
34+
return $this->belongsToMany(config('simpleMenu.models.menu'));
3535
}
3636

3737
protected function getCrntLocale()

src/resources/assets/sass/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ thead th {
2929
}
3030

3131
.choices__input {
32+
width: auto !important;
3233
margin: 0;
3334
padding: 0;
3435
background-color: transparent;

0 commit comments

Comments
 (0)