BUGFIX, Marginalien, .mjs files in tailwind

This commit is contained in:
Simon Martens
2024-01-26 12:51:04 +01:00
parent 60a5aea613
commit 8ef9c95d24
9 changed files with 21 additions and 9 deletions

1
HaWeb/.gitignore vendored
View File

@@ -16,6 +16,7 @@ dist-ssr
.vscode/* .vscode/*
!.vscode/extensions.json !.vscode/extensions.json
.idea .idea
bin/*
.DS_Store .DS_Store
*.suo *.suo
*.ntvs* *.ntvs*

View File

@@ -37,7 +37,7 @@ There is a chance you need to set the Environment Variable to 'Development' in W
Recommended vscode plugins include the XML Tools, c#, Tailwind CSS IntelliSense & TODO Tree. Recommended vscode plugins include the XML Tools, c#, Tailwind CSS IntelliSense & TODO Tree.
## Releas ## Release
For a Linux server run: For a Linux server run:

View File

@@ -13,11 +13,11 @@
}, },
"AllowedWebSocketConnections": "*", "AllowedWebSocketConnections": "*",
"AllowedHosts": "*", "AllowedHosts": "*",
"HamannFileStoreLinux": "/Users/simon/test/", "HamannFileStoreLinux": "/home/simon/test/",
"HamannFileStoreWindows": "C:/Users/simon/Downloads/test/", "HamannFileStoreWindows": "C:/Users/simon/Downloads/test/",
"BareRepositoryPathLinux": "/Users/simon/source/hamann-xml/.git/", "BareRepositoryPathLinux": "/home/simon/source/hamann-xml/.git/",
"BareRepositoryPathWindows": "D:/Simon/source/hamann-xml/.git/", "BareRepositoryPathWindows": "D:/Simon/source/hamann-xml/.git/",
"WorkingTreePathLinux": "/Users/simon/source/hamann-xml/", "WorkingTreePathLinux": "/home/simon/source/hamann-xml/",
"WorkingTreePathWindows": "D:/Simon/source/hamann-xml/", "WorkingTreePathWindows": "D:/Simon/source/hamann-xml/",
"RepositoryBranch": "Release", "RepositoryBranch": "Release",
"RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml", "RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml",

View File

@@ -1,7 +1,9 @@
module.exports = { module.exports = {
plugins: [ plugins: [
require('tailwindcss'), require('tailwindcss'),
// Production: // Production:
require('postcss-import'),
require('autoprefixer'), require('autoprefixer'),
], ],
} }

View File

@@ -1,7 +1,7 @@
module.exports = { module.exports = {
darkMode: 'class', darkMode: 'class',
content: [ content: [
"./wwwroot/**/*.{html,js}", "./wwwroot/**/*.{html,mjs,js}",
"./Views/**/*.{cshtml,html,js}", "./Views/**/*.{cshtml,html,js}",
"./Settings/CSSClassesSettings.cs" "./Settings/CSSClassesSettings.cs"
], ],

View File

@@ -172,7 +172,7 @@
} }
.ha-text .ha-marginalbox { .ha-text .ha-marginalbox {
@apply hidden select-none hover:select-auto hyphenate pl-1 md:inline-block absolute left-full ml-6 desktop:ml-10 mt-1 w-[16rem] desktop:w-[28rem] text-sm leading-tight rounded-sm font-sans @apply hidden overflow-hidden select-none hover:select-auto hyphenate pl-1 md:inline-block absolute left-full ml-6 desktop:ml-10 mt-1 w-[16rem] desktop:w-[28rem] text-sm leading-tight rounded-sm font-sans
} }
.ha-text .ha-marginalbox .ha-marginallist { .ha-text .ha-marginalbox .ha-marginallist {
@@ -196,6 +196,10 @@
@apply absolute left-full ml-4 desktop:ml-[1.7rem] hidden md:inline-block cursor-pointer leading-none mt-[0.2rem] @apply absolute left-full ml-4 desktop:ml-[1.7rem] hidden md:inline-block cursor-pointer leading-none mt-[0.2rem]
} }
.ha-minwidth .ha-btn-collapsed-box {
@apply !-ml-2
}
.ha-defaulttab .ha-hands { .ha-defaulttab .ha-hands {
@apply ml-6 md:ml-16 @apply ml-6 md:ml-16
} }
@@ -316,4 +320,10 @@
.ha-additions .ha-edits .ha-editentries tr td:nth-of-type(2)::after { .ha-additions .ha-edits .ha-editentries tr td:nth-of-type(2)::after {
content: ""; content: "";
}
.ha-text::after {
content: "";
display: table;
clear: both;
} }

File diff suppressed because one or more lines are too long

View File

@@ -169,7 +169,7 @@
} }
.ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks { .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks {
@apply inline-block font-normal text-xs md:text-sm leading-snug font-sans caps-allpetite ml-2 mt-1 @apply inline-block font-normal text-xs md:text-sm leading-snug font-sans caps-allpetite ml-2 mt-1 overflow-hidden
} }
.ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks::before { .ha-register .ha-register-body .ha-comment .ha-commenthead .ha-letlinks::before {

View File

@@ -176,7 +176,7 @@ const startup_marginals = function () {
const resetall = function () { const resetall = function () {
clearcollapsedboxes(); clearcollapsedboxes();
marginalboxwidthset(); marginalboxwidthset();
collapseboxes(); startup_marginals();
} }