fix: search button

This commit is contained in:
Jean-Baptiste Pasquier 2021-05-11 12:50:11 +02:00
parent 58e489409a
commit 0f7256a25d
6 changed files with 10 additions and 9 deletions

View File

@ -69,7 +69,7 @@ const options = {
const bundler = new Bundler('./src/index.pug', options); const bundler = new Bundler('./src/index.pug', options);
bundler.addAssetType('html', require.resolve('./assets.js')); bundler.addAssetType('html', require.resolve('./assets.js'));
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
await bundler.serve(); await bundler.serve(process.env.PORT ? process.env.PORT : 1234);
} else { } else {
await bundler.bundle(); await bundler.bundle();
} }

6
package-lock.json generated
View File

@ -1615,9 +1615,9 @@
} }
}, },
"@startinblox/hubl-styling-framework": { "@startinblox/hubl-styling-framework": {
"version": "1.8.24", "version": "1.9.0",
"resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.8.24.tgz", "resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.9.0.tgz",
"integrity": "sha512-eYrFaNG9iD3dskQcID7eEXabQZaE1u6QKuhJ8HTcnEKUFCo2DQhMe1F15zwYtxVeGE7KTrbGlGPGxfRQ2r8hig==" "integrity": "sha512-2LDouqJcJUEX7fAsvRx/FO6i6eJWcYlA3yln5NB72W3+sZBL2F6E8yelzu60G3sbwX2EcwxxPLhAgd0sCaQsjQ=="
}, },
"@types/q": { "@types/q": {
"version": "1.5.4", "version": "1.5.4",

View File

@ -57,7 +57,7 @@
"clearDist": false "clearDist": false
}, },
"dependencies": { "dependencies": {
"@startinblox/hubl-styling-framework": "^1.8.24", "@startinblox/hubl-styling-framework": "^1.9.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",

View File

@ -32,7 +32,7 @@ if componentSet.has("events")
script(type="module", src="https://cdn.skypack.dev/@startinblox/component-event@beta", defer) script(type="module", src="https://cdn.skypack.dev/@startinblox/component-event@beta", defer)
//- script(type="module", src="/lib/solid-event/solid-event.js", defer) //- script(type="module", src="/lib/solid-event/solid-event.js", defer)
if componentSet.has("events") || componentSet.has("polls") || componentSet.has("resources") //- if componentSet.has("events") || componentSet.has("polls") || componentSet.has("resources")
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-conversation@beta" defer) script(type="module" src="https://cdn.skypack.dev/@startinblox/component-conversation@beta" defer)
if componentSet.has("invoices") if componentSet.has("invoices")

View File

@ -87,12 +87,12 @@ nav#main__menu {
} }
} }
button { div>button {
background: transparent; background: transparent;
border: none; border: none;
color: #D0D4DA; color: #D0D4DA;
margin-top: 0 !important; margin-top: 0 !important;
height: auto; height: 100%;
@media (max-width: 768px) { @media (max-width: 768px) {
width: 20%; width: 20%;

View File

@ -1,4 +1,4 @@
solid-form-search.icon.children-icon-magnifier( solid-form-search(
id='general-search' id='general-search'
class='segment block form menu-search' class='segment block form menu-search'
fields='name' fields='name'
@ -11,6 +11,7 @@ solid-form-search.icon.children-icon-magnifier(
submit-button="" submit-button=""
submit-widget="button" submit-widget="button"
class-submit-button="icon children-icon-magnifier"
) )
div.divider div.divider
solid-router#navbar-router(default-route=defaultRoute) solid-router#navbar-router(default-route=defaultRoute)