Fix desktop submenu position and stacking, taller homepage images
Build and Deploy (dev) / build (push) Successful in 4m42s
Build and Deploy (dev) / build (push) Successful in 4m42s
- Submenu hover bridge now matches the menu item height (was a fixed 30px), so the dropdown opens below the menu instead of over it - Give .menu-submenu z-index 100 so it covers the category pills and media overlays - Small homepage news images use a 16:9 aspect ratio on desktop, so they grow with the column width (min-height 140px stays) - Rename Gruntfile.js to Gruntfile.cjs: package.json has type=module, which broke the grunt build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e48e8978b6
commit
179413aef5
11 files changed
+27
-9
No files matched your search
@@ -0,0 +1,37 @@
|
||||
module.exports = function(grunt) {
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
uglify: {
|
||||
options: {
|
||||
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
|
||||
},
|
||||
build: {
|
||||
src: 'public/js/functions.js',
|
||||
dest: 'public/js/functions.min.js'
|
||||
}
|
||||
},
|
||||
concat: {
|
||||
js: {
|
||||
src: ['resources/assets/js/functions/*.js'],
|
||||
dest: 'public/js/functions.js'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
scripts: {
|
||||
files: 'resources/assets/js/functions/*.js',
|
||||
tasks: ['concat', 'uglify'],
|
||||
options: {
|
||||
interrupt: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
// Load the plugin that provides the "uglify" task.
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
};
|
||||
Reference in new issue
Block a user