Skip to content

Commit

Permalink
Fix long menu item URLs causing a horizontal scroll bar
Browse files Browse the repository at this point in the history
Fixes #1312
  • Loading branch information
khattam2 authored and ihalaij1 committed Jan 26, 2024
1 parent 27cd1e9 commit f49fd38
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ $font-size-base: $aplus-font-size-base;
@import 'components/table';
@import 'pages/assessment';
@import 'pages/login';
@import 'pages/menu-items';
@import 'pages/profile-page';

/*!
Expand Down
3 changes: 3 additions & 0 deletions assets/sass/pages/_menu-items.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.long-url {
word-break: break-word;
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{{ menu.service.menu_label|parse_localization}}
{% endif %}
</td>
<td>
<td class="long-url">
{{ menu.final_url }}
</td>
<td>
Expand Down

0 comments on commit f49fd38

Please sign in to comment.