Skip to content

Commit 474e3a9

Browse files
authored
Merge pull request #220 from postgresml/montana/borderless
just do it
2 parents 3e056b3 + 8e49569 commit 474e3a9

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

pgml-dashboard/app/static/css/base.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,19 @@ nav ol, nav ul {
516516
display: none;
517517
}
518518

519+
main turbo-frame:first-of-type .notebook-cell {
520+
border-top-left-radius: 10px;
521+
border-top-right-radius: 10px;
522+
border-top: 1px solid var(--gray-8);
523+
}
524+
519525
.notebook-cell {
526+
margin: 0 20px;
527+
border-radius: 0;
520528
padding: 1rem;
521529
border: 1px solid var(--gray-8);
530+
border-top: none;
531+
border-bottom: none;
522532
background: #fff;
523533
}
524534

pgml-dashboard/app/templates/notebooks.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "base.html" %}
22

33
{% block main %}
4-
<section>
4+
<div>
55
<h1>
66
<span class="material-symbols-outlined">newspaper</span>Notebooks
77
</h1>
@@ -19,10 +19,10 @@ <h1>
1919
{% endfor %}
2020
</ol>
2121
{% endif %}
22-
</section>
22+
</div>
2323

2424

25-
<section>
25+
<div>
2626
<h2>New notebook</h2>
2727

2828
<form action="{% url 'notebooks/create' %}" method="post">
@@ -36,5 +36,5 @@ <h2>New notebook</h2>
3636
<button class="next" type="submit">Create notebook</button>
3737
</div>
3838
</form>
39-
</section>
39+
</div>
4040
{% endblock %}

0 commit comments

Comments
 (0)