Skip to content

Commit 6e8aa28

Browse files
fix: bootstrap toolbar more responsive
1 parent 7c44e00 commit 6e8aa28

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

martor/static/martor/css/martor.bootstrap.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ body.overflow {
3232
}
3333

3434
.martor-toolbar {
35-
position: absolute;
3635
z-index: 100;
37-
right: 0;
38-
top: 0;
3936
}
4037
.enable-living .martor-toolbar {
4138
position: relative;

martor/templates/martor/bootstrap/toolbar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% load i18n %}
22

3-
<div class="btn-toolbar float-end martor-toolbar" role="toolbar" aria-label="{% trans 'Martor Toolbar Buttons' %}">
4-
<div class="btn-group btn-group-sm" role="group" aria-label="First group">
3+
<div class="btn-toolbar float-end martor-toolbar ms-lg-auto" role="toolbar" aria-label="{% trans 'Martor Toolbar Buttons' %}">
4+
<div class="btn-group btn-group-sm flex-wrap" role="group" aria-label="First group">
55

66
{% if 'bold' in toolbar_buttons %}
77
<span class="btn btn-light markdown-selector markdown-bold" title="{% trans 'Bold' %} (Ctrl+B)">

0 commit comments

Comments
 (0)