Skip to content

Commit 4e9c1b6

Browse files
committed
Improve custom desktop browser size
1 parent a1341a9 commit 4e9c1b6

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

resources/sass/core/layout.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ body {
88
overflow-x: hidden;
99
}
1010

11-
@include media-breakpoint-up(xl) {
11+
@include media-breakpoint-up(lg) {
1212
.aside {
13-
width: $app-aside-width;
13+
width: min($app-aside-width, 25%);
1414
max-width: $app-aside-max-width;
1515
min-height: 100vh;
1616

@@ -20,7 +20,7 @@ body {
2020
}
2121
}
2222

23-
@include media-breakpoint-down(xl) {
23+
@include media-breakpoint-down(lg) {
2424

2525
.aside-collapse {
2626
visibility: hidden;

resources/views/app.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<div class="row justify-content-center d-md-flex h-100">
5858
@yield('aside')
5959

60-
<div class="col-xxl col-xl-9 col-12 mx-auto">
60+
<div class="col-xxl col-lg-9 col-xl-9 col-12 mx-auto">
6161
@yield('body')
6262
</div>
6363
</div>

resources/views/dashboard.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@extends(config('platform.workspace', 'platform::workspace.compact'))
22

33
@section('aside')
4-
<div class="aside col-xs-12 col-xxl-2 bg-dark d-flex flex-column" data-controller="menu" data-bs-theme="dark">
5-
<header class="d-xl-block p-3 mt-xl-4 w-100 d-flex align-items-center">
6-
<a href="#" class="header-toggler d-xl-none me-auto order-first d-flex align-items-center lh-1 link-body-emphasis"
4+
<div class="aside col-xs-12 col-lg-3 col-xl-2 bg-dark d-flex flex-column" data-controller="menu" data-bs-theme="dark">
5+
<header class="p-3 mt-lg-4 w-100 d-flex align-items-center">
6+
<a href="#" class="header-toggler d-lg-none me-auto order-first d-flex align-items-center lh-1 link-body-emphasis"
77
data-action="click->menu#toggle">
88
<x-orchid-icon path="bs.three-dots-vertical" class="icon-menu"/>
99

@@ -15,7 +15,7 @@
1515
</a>
1616
</header>
1717

18-
<nav class="aside-collapse w-100 d-xl-flex flex-column collapse-horizontal text-body-emphasis" id="headerMenuCollapse">
18+
<nav class="aside-collapse w-100 d-lg-flex flex-column collapse-horizontal text-body-emphasis" id="headerMenuCollapse">
1919

2020
@include('platform::partials.search')
2121

resources/views/header.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
<div class="h2 d-flex align-items-center">
1717
@auth
18-
<x-orchid-icon path="bs.house" class="d-inline d-xl-none"/>
18+
<x-orchid-icon path="bs.house" class="d-inline d-lg-none"/>
1919
@endauth
2020

21-
<p class="my-0 {{ auth()->check() ? 'd-none d-xl-block' : '' }}">
21+
<p class="my-0 {{ auth()->check() ? 'd-none d-lg-block' : '' }}">
2222
{{ config('app.name') }}
2323
</p>
2424
</div>

0 commit comments

Comments
 (0)