Skip to content

Commit

Permalink
Fix margin for the alert box to search within EPFL
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelasoie committed Dec 22, 2021
1 parent a26cd67 commit 34dd374
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

*1.38.3* (2021-12-22)
- Fix margin for the alert box to search within EPFL

*1.38.2* (2021-12-22)
- Add a top margin to the alert box to search within EPFL, again
- Change text of the alert box for mobile version
Expand Down
2 changes: 1 addition & 1 deletion wp-theme-2018/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.38.2
1.38.3
2 changes: 1 addition & 1 deletion wp-theme-2018/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function _get_our_soa () {
<input type="text" class="form-control" name="q" placeholder="<?php esc_html_e('Search', 'epfl') ?>" >
<button type="submit" class="d-none d-xl-block btn btn-primary input-group-append" type="button"><?php esc_html_e('Validate', 'epfl') ?></button>
</div>
<div class="alert alert-warning alert-dismissible fade show mt-1" role="alert">
<div class="alert alert-warning alert-dismissible fade show mt-1 mb-0" role="alert">
<strong>For the time being,</strong> this feature is only available inside EPFL. Sorry for any inconvenience.
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion wp-theme-2018/searchform.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="dropdown dropright search">
<form action="https://search.epfl.ch/" class="border-0 p-0">
<div class="alert alert-warning alert-dismissible fade show mt-1" role="alert">
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>For the time being,</strong> this feature is only available inside EPFL. Sorry for any inconvenience.
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
Expand Down
2 changes: 1 addition & 1 deletion wp-theme-2018/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI:
Author: Antistatique.net
Author URI: http://antistatique.net/
Description: Description
Version: 1.38.2
Version: 1.38.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: epfl
Expand Down

0 comments on commit 34dd374

Please sign in to comment.