Skip to content

Commit

Permalink
D8CORE-6953: fixes to local task tabs (#720)
Browse files Browse the repository at this point in the history
* D8CORE-6953: fixes to local task tabs in authoring views.
  • Loading branch information
jenbreese authored Oct 9, 2023
1 parent 7fdcdb2 commit 0c27cf1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion themes/stanford_basic/dist/css/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/
#}
<div{{attributes}} class="layout centered-container {{ modifier_class }}"">
<div{{attributes}} class="layout centered-container {{ modifier_class }}">
<div>
{% block body %}
{{ content }}
Expand Down
1 change: 1 addition & 0 deletions themes/stanford_basic/src/scss/admin/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ a:focus {
top: -25px;
}
}

16 changes: 14 additions & 2 deletions themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
ul {
display: flex;
flex-direction: row;
list-style: none;
margin-top: 15px;
padding-left: 0;

li {
line-height: unset;
}
}

&.sticky {
Expand All @@ -54,7 +61,6 @@
order: 4;

a {
font-size: 0;

&::before {
@include padding(null 1em);
Expand Down Expand Up @@ -94,12 +100,18 @@
}

a {
@include padding(10px null);
@include padding(15px);
font-weight: 400;
color: $su-color-white;
background-color: $su-color-bright-blue;
border-right: 1px solid #00548f;
border-bottom: 1px solid #00548f;
text-decoration: none;
text-wrap: nowrap;

@include grid-media-max('sm') {
padding: 10px 5px;
}
}

a {
Expand Down

0 comments on commit 0c27cf1

Please sign in to comment.