Skip to content

Commit de78a98

Browse files
committed
Refactor CSS imports
1 parent 9cc2aea commit de78a98

2 files changed

Lines changed: 6 additions & 20 deletions

File tree

resources/css/app.css

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@plugin "@iconify/tailwind4";
33

44
@source "../views";
5-
@source "../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php";
5+
@import "overlayscrollbars/overlayscrollbars.css";
66

77
@theme {
88
--font-sans: "Reddit Sans", sans-serif;
@@ -38,9 +38,10 @@ input[type="number"] {
3838
appearance: textfield;
3939
}
4040

41-
div#livewire-error {
42-
top: 0;
43-
left: 0;
41+
dialog#livewire-error {
42+
margin: 2rem !important;
43+
width: calc(100% - 4rem) !important;
44+
height: calc(100% - 4rem) !important;
4445
}
4546

4647
[x-cloak] {
@@ -50,22 +51,10 @@ div#livewire-error {
5051
.os-theme-dark.os-scrollbar,
5152
.os-theme-light.os-scrollbar {
5253
--os-size: 4px;
54+
--os-padding-axis: 0px;
5355
--os-padding-perpendicular: 0px;
5456
--os-handle-border-radius: 8px;
5557
--os-handle-bg: #3d3530;
5658
--os-handle-bg-hover: #3d3530;
5759
--os-handle-bg-active: #3d3530;
5860
}
59-
60-
::-webkit-scrollbar {
61-
height: 6px;
62-
width: 4px;
63-
}
64-
65-
::-webkit-scrollbar-track {
66-
background: transparent;
67-
}
68-
69-
::-webkit-scrollbar-thumb {
70-
background: #3d3530;
71-
}

resources/ts/app.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ import {
77

88
import { ofetch } from "ofetch"
99

10-
// @ts-ignore
11-
import "overlayscrollbars/overlayscrollbars.css"
12-
1310
declare global {
1411
interface Window {
1512
Livewire?: typeof Livewire

0 commit comments

Comments
 (0)