Skip to content

Commit 780e7ed

Browse files
committed
Ensure the version history is still visible in modal windows
Previously, I added basic responsiveness to only show the version history on large screens. This inadvertantly hid the version history in the modal window for nested topics. Given this, I've adjusted what screen sizes it is visible to, so it now shows up in both large and medium sized screens. It will continue to be hidden on small screens.
1 parent 5ddbd26 commit 780e7ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OnTopic.Editor.AspNetCore/Areas/Editor/Views/Shared/_Toolbar.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@if (Model.Topic.VersionHistory.Count > 1) {
1313
<!-- Versions -->
14-
<div id="VersionsDropdown" class="dropdown d-none d-lg-inline-block" style="display:inline-block;">
14+
<div id="VersionsDropdown" class="dropdown d-none d-md-inline-block" style="display:inline-block;">
1515
<button class="btn btn-sm btn-ancillary dropdown-toggle" type="button" id="VersionsButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
1616
<span class="fa fa-history"></span>
1717
Versions

0 commit comments

Comments
 (0)