Skip to content

Commit

Permalink
apply some style fix for navigation and form elements
Browse files Browse the repository at this point in the history
  • Loading branch information
karlandindrakryggen committed Apr 17, 2024
1 parent dc405ad commit 88a72d5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions public/css/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
#mainMenu.kth-local-navigation {
padding: 0 20px 15px 0;

.kth-button.back::before {
// do not shrink space for back arrow if nav title is long
flex-shrink: 0;
}

& > * {
max-width: 15rem;
}
Expand All @@ -48,6 +53,7 @@

.kth-content.articleNavigation {
#breadcrumbs {
width: 100%;
margin-top: 15px;
ol {
margin: 0;
Expand Down Expand Up @@ -148,3 +154,15 @@ p {
text-align: left;
}
}

// Old kth-style boostrap form overrides
.select-wrapper::after {
background-color: var(--color-primary);
}

label:has(+ .form-group),
label:has(+ input) {
@include typography.font-heading-xs;
display: block;
margin-bottom: 0.25rem;
}

0 comments on commit 88a72d5

Please sign in to comment.