Skip to content

Commit

Permalink
Feat: Adding new breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Niclas Norin committed Sep 14, 2023
1 parent d716d01 commit 679a825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/php/Component/Drawer/Drawer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private function getMoveToAttribute(array $attributeList): string
private function getScreenSizeClassNames($screenSizes): array
{
$classNames = [];
$availableScreenSizes = ['xs', 'sm', 'md', 'lg'];
$availableScreenSizes = ['xs', 'sm', 'md', 'lg', 'xl'];


foreach ($availableScreenSizes as $availableScreenSize) {
Expand Down
4 changes: 1 addition & 3 deletions source/php/Component/HamburgerMenu/hamburgerMenu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ul class="{{$baseClass}}__list o-grid unlist o-grid-12">
@foreach ($menuItems as $item)
<li id="{{$id}}-main-item-{{$item['id']}}"
class="{{$baseClass}}__item {{$baseClass}}__item--parent o-grid-12 o-grid-6@md o-grid-4@lg u-mb-6 u-margin__top--1 {{$item['classNames']}}">
class="{{$baseClass}}__item {{$baseClass}}__item--parent o-grid-12 o-grid-6@md o-grid-4@lg o-grid-3@xl u-mb-6 u-margin__top--1 {{$item['classNames']}}">
@if(!empty($parentStyle))
@button([
'text' => $item['label'],
Expand Down Expand Up @@ -45,8 +45,6 @@ class="{{$baseClass}}__item {{$baseClass}}__item--parent o-grid-12 o-grid-6@md o
@typography([
'classList' => [
$baseClass . '__description',
'u-margin__top--0',
'u-padding__top--1'
]
])
{{ $item['description'] }}
Expand Down

0 comments on commit 679a825

Please sign in to comment.