Skip to content

Commit 77460d4

Browse files
author
Adam Parsons
committed
Moved ul.breadcrumb margin to bootstrap-tweaks.css
When importing other bootstrap themes from sites like bootswatch, the margin in default.css persists and adds a 70px margin below the header. This change will remove that margin when users choose to use a different bootstrap theme.
1 parent 311cad6 commit 77460d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rest_framework/static/rest_framework/css/bootstrap-tweaks.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ a single block in the template.
6060
color: #C20000;
6161
}
6262

63+
ul.breadcrumb {
64+
margin: 70px 0 0 0;
65+
}
66+
6367
.pagination>.disabled>a,
6468
.pagination>.disabled>a:hover,
6569
.pagination>.disabled>a:focus {

rest_framework/static/rest_framework/css/default.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ h2, h3 {
3232
margin-right: 1em;
3333
}
3434

35-
ul.breadcrumb {
36-
margin: 70px 0 0 0;
37-
}
38-
3935
.breadcrumb li.active a {
4036
color: #777;
4137
}

0 commit comments

Comments
 (0)