1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Moved the tournament navbar to the bottom of the page and made site responsive. Fixed puma solid queue in development. Added a note about clobbering assets in the README. Fixed the ad blocker check due to turbolinks it had to be idempotent. Added migrations for all dbs in the rails-dev-db-create.sh script.

This commit is contained in:
2025-04-16 16:19:29 -04:00
parent 6e61a7245a
commit ed7186e5ce
14 changed files with 91 additions and 11011 deletions

View File

@@ -10,11 +10,13 @@
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require_tree .
//= require jquery
//= require jquery_ujs
// Bootstrap 3.3.6 in vendor/assets/javascripts
//= require bootstrap.min.js
// Data Tables 1.10.6 in vendor/assets/javascripts
//= require jquery.dataTables.min.js
//= require turbolinks
//
//= require_tree .

View File

@@ -10,10 +10,13 @@
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require_self
* For some reason this needs to be above bootstrap for the zindex of the main navbar to work.
* With it lower, bootstraps css overrides it.
*= require custom
* Bootstrap 3.3.6 in vendor/assets/stylesheets
*= require bootstrap.min.css
*= require bootstrap-theme.min.css
*= require_tree .
*= require_self
*/
*/

View File

@@ -0,0 +1,17 @@
.navbar-inverse.navbar-fixed-top {
z-index: 1040; /* Ensure main navbar is above tournament navbar */
}
#tournament-navbar {
top: 50px; /* Position below the first fixed navbar */
z-index: 1030; /* Explicitly set standard fixed navbar z-index */
}
/* Make desktop navbar dropdowns scrollable if they overflow */
@media (min-width: 768px) {
/* Target dropdowns in main nav and tournament nav specifically */
.navbar-fixed-top .dropdown-menu {
max-height: 70vh; /* Adjust as needed - 70% of viewport height */
overflow-y: auto;
}
}