Skip to content

Commit

Permalink
reindent
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Jan 24, 2024
1 parent a6453d6 commit d62909b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "stylelint-config-sass-guidelines",
"rules": {
"indentation": 4,
"indentation": 2,
"max-nesting-depth": 6,
"selector-class-pattern": [
"^[a-z0-9\\:-]+$"
Expand Down
16 changes: 8 additions & 8 deletions resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
@use 'sprucecss/scss/spruce' as *;

:root {
@include set-css-variable((
--sidebar-inline-size: 20rem,
--header-block-size: 4.5rem,
--container-gap: spacer-clamp('m', 'l')
));
@include set-css-variable((
--sidebar-inline-size: 20rem,
--header-block-size: 4.5rem,
--container-gap: spacer-clamp('m', 'l')
));
}

body {
overflow-x: hidden;
overflow-x: hidden;
}

[x-cloak] {
visibility: hidden !important;
visibility: hidden !important;
}

img {
border-radius: config('border-radius-sm', $display);
border-radius: config('border-radius-sm', $display);
}
2 changes: 1 addition & 1 deletion src/Fields/Relation.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ public function resolveAbility(string $ability, Request $request, Model $model,
{
$policy = Gate::getPolicyFor($model);

$ability .= Str::of($this->getModelAttribute())->singular()->studly()->value();
$ability .= Str::of($this->getModelAttribute())->singular()->studly()->value();

return is_null($policy)
|| ! method_exists($policy, $ability)
Expand Down

0 comments on commit d62909b

Please sign in to comment.