Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 6bb8534

Browse files
authored
Merge develop into master branch (#117)
* Patch forms auto export module (#116) * Add gin-custom.css to repo. (#115) * Add gin-custom.css to repo. * Add hook_preprocess_page to read custom css
1 parent 9064b96 commit 6bb8534

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
},
7272
"drupal/user_default_page": {
7373
"Warning: in_array() expects parameter 2 to be array, null given in user_default_page_user_logout() (https://www.drupal.org/node/3246986)": "https://www.drupal.org/files/issues/2021-11-01/user_default_page-3246986-2.patch"
74+
},
75+
"drupal/coc_forms_auto_export": {
76+
"3240592 - Problem with phpseclib requirement in 2.x (https://www.drupal.org/project/coc_forms_auto_export/issues/3240592)": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch"
7477
}
7578
}
7679
}

css/gin-custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.ui-dialog:not(.ui-dialog-off-canvas) {
2+
width: 70vw!important;
3+
}

os2forms_forloeb.libraries.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
os2forms_forloeb:
2+
version: 1.x
3+
css:
4+
theme:
5+
css/gin-custom.css: {}
6+
dependencies:
7+
- drupal/gin

os2forms_forloeb.module

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,7 @@ function os2forms_forloeb_form_alter(&$form, FormStateInterface $form_state, $fo
264264
}
265265
}
266266
}
267+
268+
function os2forms_forloeb_preprocess_page(&$variables) {
269+
$variables['#attached']['library'][] = 'os2forms_forloeb/os2forms_forloeb';
270+
}

0 commit comments

Comments
 (0)