Skip to content

Commit

Permalink
Fixed related policies to avoid self referencing
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 18, 2023
1 parent 87cbd12 commit f08417e
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 24 deletions.
7 changes: 3 additions & 4 deletions config/sync/views.view.policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,16 +287,15 @@ display:
entity_type: node
entity_field: nid
plugin_id: node_nid
default_action: ignore
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_type: node
default_argument_options: { }
default_argument_skip_url: false
summary_options:
base_path: ''
Expand Down
2 changes: 1 addition & 1 deletion themes/stanford_basic/dist/css/base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/stanford_basic/dist/css/content/policy.css

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions themes/stanford_basic/src/scss/base/_breadcrumb.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@charset 'UTF-8';

//Breadcrumbs.
.breadcrumb {
@include responsive-spacing('padding-top', 0);

ol {
list-style: none;
}

li {
display: inline-block;

&::before {
content: " / ";
}

&:first-of-type {
&::before {
content: " ";
}
}
}
}
3 changes: 2 additions & 1 deletion themes/stanford_basic/src/scss/base/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
// Roll up partial imports.
@import
'table',
'typography';
'typography',
'breadcrumb';
17 changes: 0 additions & 17 deletions themes/stanford_basic/src/scss/content/policy/_policy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,6 @@
}
}

//Breadcrumbs.
.breadcrumb {
@include responsive-spacing('padding-top', 0);

li {
&::before {
content: " / ";
}

&:first-of-type {
&::before {
content: " ";
}
}
}
}

// Previous and Next
.book-forward-back {
a {
Expand Down

0 comments on commit f08417e

Please sign in to comment.