Skip to content

Commit

Permalink
added consistent padding to navbar and breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
NeemZ16 committed Nov 10, 2024
1 parent 968cbde commit 22aa0aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 2 additions & 0 deletions devU-client/src/assets/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ $medium: 1000px;
$small: 600px;
$extreme: 780px;

$pagePadding: 50px;

@mixin ellipsis {
overflow: hidden;
text-overflow: ellipsis;
Expand Down
20 changes: 8 additions & 12 deletions devU-client/src/components/misc/globalToolbar.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import 'variables';

$bar-height: 50px;
$bar-height: 60px;
$sidebar-width: 260px;
$hover-effect: 0.7;
$font-size: 16px;
Expand Down Expand Up @@ -37,23 +37,19 @@ $font-size: 16px;
}

.header {
@extend .link;
font-size: 40px;
border-radius: 30px;
font-weight: 550;
//font-size: 2em;
//font-weight: bold;
font-size: 32px;
text-decoration: none;
color: #FFF;
font-weight: 600;
}

.bar {

height: 80px;
height: $bar-height;
background-color: $primary;
font-size: 40px;
color: #D9D9D9;
font-weight: 550;


padding: 0 $pagePadding;

@extend .flex;
justify-content: space-between;
Expand All @@ -71,7 +67,7 @@ $font-size: 16px;

// Controls turning the menu options into a sidebar
// As well as whether or not that sidebar is being shown
@media (max-width: 410px) {
@media (max-width: 450px) {
.flex {
gap: 1rem;

Expand Down
2 changes: 1 addition & 1 deletion devU-client/src/components/misc/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.breadcrumbContainer {
display: flex;
align-items: center;
margin-left: 3.5rem;
margin-left: $pagePadding;
margin-top:10px;

}
Expand Down

0 comments on commit 22aa0aa

Please sign in to comment.