Skip to content

Commit

Permalink
Remove class and role with some Bootstrap side-effect that was causin…
Browse files Browse the repository at this point in the history
…g part of the Category Remove dialog to disappear after a couple of seconds.
  • Loading branch information
snoopdave committed Sep 28, 2024
1 parent 843adb0 commit 222dae0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/webapp/WEB-INF/jsps/editor/Categories.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@

<div class="modal-body">

<div id="category-in-use" class="alert alert-danger" role="alert" style="display:none">
<div id="category-in-use" style="display:none">
<p>
<s:text name="categoryDeleteOK.warningCatInUse"/>
<s:text name="categoryDeleteOK.youMustMoveEntries"/>
Expand Down
7 changes: 7 additions & 0 deletions app/src/main/webapp/roller-ui/styles/roller.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ table.innertable tr .viewbody .bot {
float: left;
}

#category-in-use {
background-color: #ffcccc;
border: 1px solid #ff0000;
padding: 10px;
border-radius: 5px;
}

/* sign-in */

body {
Expand Down

0 comments on commit 222dae0

Please sign in to comment.