1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Fix sass live-reload

This commit is contained in:
heyarne 2019-12-08 00:00:14 +01:00
commit 42497aefcb
3 changed files with 9 additions and 4 deletions

View file

@ -5,15 +5,15 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build:cljs": "shadow-cljs release app", "build:cljs": "shadow-cljs release app",
"build:sass": "node-sass --output-style compressed src/sass/app.sass | postcss -o public/app/style.css", "build:sass": "node-sass --output-style compressed src/sass/app.sass | postcss -o public/app/app.css",
"build": "rm -r public/*; run-p copy:* build:*", "build": "rm -r public/*; run-p copy:* build:*",
"copy:assets": "cp -R src/assets/* public/", "copy:assets": "cp -R src/assets/* public/",
"copy:icons": "cp -R node_modules/open-iconic/font/fonts public", "copy:icons": "cp -R node_modules/open-iconic/font/fonts public",
"deploy": "npm run build && gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"", "deploy": "npm run build && gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"",
"dev:cljs": "shadow-cljs watch app test", "dev:cljs": "shadow-cljs watch app test",
"dev:sass": "npm run build:sass; node-sass -w src/sass/app.sass | postcss -o public/app/style.css", "dev:sass": "node-sass -w src/sass/app.sass -o public/app",
"dev:test": "karma start --reporters notify,progress --auto-watch", "dev:test": "karma start --reporters notify,progress --auto-watch",
"dev": "rm -r public/*; npm-run-all copy:* test:compile -p dev:*", "dev": "rm -r public/*; npm-run-all build:sass copy:* test:compile -p dev:*",
"test": "run-s test:compile test:run", "test": "run-s test:compile test:run",
"test:compile": "shadow-cljs compile test", "test:compile": "shadow-cljs compile test",
"test:run": "karma start --single-run" "test:run": "karma start --single-run"

View file

@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Airsonic</title> <title>Airsonic</title>
<link rel="stylesheet" href="./app/style.css"> <link rel="stylesheet" href="./app/app.css">
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">

View file

@ -228,6 +228,11 @@
&.is-tiny &.is-tiny
padding: 0.75rem 1.5rem padding: 0.75rem 1.5rem
// tab bar on top
.ui-tab-bar
padding-top: 100px
padding-bottom: 0.75rem
// occurs on many pages at the top to show details // occurs on many pages at the top to show details
.hero .hero
&.is-small + .section &.is-small + .section