Skip to content

Commit 432c2a3

Browse files
committed
TWeak theme, remove height
1 parent 6d586b2 commit 432c2a3

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

src/JavascriptRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(DebugBar $debugBar, $baseUrl = null, $basePath = nul
2323
$this->jsFiles['laravel-cache'] = __DIR__ . '/Resources/cache/widget.js';
2424
$this->jsFiles['laravel-queries'] = __DIR__ . '/Resources/queries/widget.js';
2525

26-
$this->setDefaultTheme(config('debugbar.theme', 'auto'));
26+
$this->setTheme(config('debugbar.theme', 'auto'));
2727
}
2828

2929
/**

src/Resources/laravel-debugbar.css

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ div.phpdebugbar-openhandler[data-theme='dark'] {
7171
--color-background-alt: var(--color-gray-900);
7272
}
7373

74-
75-
7674
/* Force Laravel Whoops exception handler to be displayed under the debug bar */
7775
.Whoops.container {
7876
z-index: 5999999;
@@ -214,11 +212,6 @@ div.phpdebugbar-body {
214212
border-top: 1px solid var(--color-header-border);
215213
}
216214

217-
div.phpdebugbar-header {
218-
min-height: 30px;
219-
line-height: 20px;
220-
}
221-
222215
div.phpdebugbar-header span.phpdebugbar-text, div.phpdebugbar-header > div > span > span, div.phpdebugbar-header > div > span > i{
223216
display: inline-block;
224217
transform: translateY(-0.5px) !important;
@@ -261,11 +254,6 @@ a.phpdebugbar-restore-btn {
261254
border-right: none;
262255
}
263256

264-
div.phpdebugbar-header > div > * {
265-
padding: 5px 8px;
266-
font-size: 13px;
267-
height: 20px;
268-
}
269257

270258
div.phpdebugbar-header .phpdebugbar-tab {
271259
border-left: 1px solid var(--color-header-border);
@@ -406,16 +394,6 @@ a.phpdebugbar-open-btn:hover {
406394
/* transition: background-color .25s linear 0s, color .25s linear 0s; */
407395
}
408396

409-
a.phpdebugbar-close-btn,
410-
a.phpdebugbar-open-btn,
411-
a.phpdebugbar-minimize-btn ,
412-
a.phpdebugbar-maximize-btn,
413-
a.phpdebugbar-tab.phpdebugbar-tab-history,
414-
a.phpdebugbar-tab.phpdebugbar-tab-settings {
415-
min-width: 14px;
416-
height: 20px;
417-
}
418-
419397
a.phpdebugbar-tab.phpdebugbar-active {
420398
background: var(--color-red-vivid);
421399
background-image: none;

0 commit comments

Comments
 (0)