Closed ricardov03 closed 3 years ago
The Create button of any resource I use with the tabs, stick on top of the bar. I inspect the button and confirm that this class "mb-6" it's the issue.
I don't know if this class it's used on purpose, or If I can change this to remove it.
Here it's a view of the problem:
And this is how I'm using the nova-tabs:
... (new Tabs(__('Structure Relations'), [ HasOne::make('Segmentation', 'segmentation', 'App\Nova\CondominiumSegmentation'), HasMany::make('Building Types') ->hideFromDetail(function(){ if($this->segmentation()->count()) return false; else return true; }), HasMany::make(__('Building ↔︎ Segment Relation'), 'building_segments_relation', 'App\Nova\BuildingSegmentation') ->hideFromDetail(function(){ if($this->segmentation()->count() && $this->building_types()->count()) return false; else return true; }), ])), ...
The Create button of any resource I use with the tabs, stick on top of the bar. I inspect the button and confirm that this class "mb-6" it's the issue.
I don't know if this class it's used on purpose, or If I can change this to remove it.
Here it's a view of the problem:
And this is how I'm using the nova-tabs: