Skip to content

Commit 8c5d424

Browse files
committed
Page header
* BS3 had lots of top (20px) and bottom (10px) margin to push page down. Now added top margin on the div. * Font has style has changed with bs5. But is slightly custom as font weight is over riden. Personally think it looks ok.
1 parent bb9e2aa commit 8c5d424

File tree

1 file changed

+2
-2
lines changed
  • rest_framework/templates/rest_framework

1 file changed

+2
-2
lines changed

rest_framework/templates/rest_framework/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ <h4 class="text-center">Are you sure you want to delete this {{ name }}?</h4>
151151
</div>
152152

153153
<div class="content-main" role="main" aria-label="{% trans "main content" %}">
154-
<div class="page-header">
155-
<h1>{{ name }}</h1>
154+
<div class="page-header mt-3">
155+
<h1 class="align-text-top">{{ name }}</h1>
156156
</div>
157157
<div style="float:left">
158158
{% block description %}

0 commit comments

Comments
 (0)