Skip to content

Commit

Permalink
Changes for bootstrap 5 upgrade (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-intelli authored Feb 15, 2024
1 parent 358917f commit a54ee1c
Show file tree
Hide file tree
Showing 51 changed files with 37,652 additions and 28,310 deletions.
16 changes: 16 additions & 0 deletions apigee_devportal_kickstart.install
Original file line number Diff line number Diff line change
Expand Up @@ -720,3 +720,19 @@ function apigee_devportal_kickstart_update_9002() {
// Clear all caches.
drupal_flush_all_caches();
}

/**
* Update automatic width to false.
*/
function apigee_devportal_kickstart_update_9003() {
$view = Views::getView('apigee_api_catalog');
if(is_object($view)){
$display = $view->getDisplay();
$style = $display->getOption('style');
// Change the automatic width to false.
$style['options']['automatic_width'] = false;
$view->display_handler->overrideOption('style', $style);
$view->save();
}

}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"drupal/fontawesome": "^2.12",
"drupal/paragraphs": "^1.6",
"drupal/pathauto": "^1.6",
"drupal/radix": "^4.13",
"drupal/radix": "^5.0",
"drupal/components": "^2.1 || ^3.0@beta",
"drupal/color": "^1.0",
"drupal/quickedit": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion config/install/views.view.apigee_api_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ display:
options:
grouping: { }
columns: 12
automatic_width: true
automatic_width: false
alignment: horizontal
row_class_custom: row
row_class_default: false
Expand Down
Loading

0 comments on commit a54ee1c

Please sign in to comment.