side pane class

This commit is contained in:
rimu 2024-01-04 22:21:31 +13:00
parent a36a56eec6
commit 1f3c383479
17 changed files with 20 additions and 22 deletions

View file

@ -396,7 +396,7 @@ fieldset legend {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.card .card-body img { .card .card-body > p > img {
max-width: 100%; max-width: 100%;
} }

View file

@ -50,11 +50,9 @@ nav, etc which are used site-wide */
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
.card-body { .card-body > p > img {
img {
max-width: 100%; max-width: 100%;
} }
}
} }
#breadcrumb_nav { #breadcrumb_nav {

View file

@ -3,7 +3,7 @@
{% block app_content %} {% block app_content %}
<div class="row"> <div class="row">
<div class="col-8 position-relative main_pane"> <div class="col-12 col-md-8 position-relative main_pane">
<h1>{{ _('Create post') }}</h1> <h1>{{ _('Create post') }}</h1>
<form method="post" enctype="multipart/form-data"> <form method="post" enctype="multipart/form-data">
{{ form.csrf_token() }} {{ form.csrf_token() }}
@ -69,7 +69,7 @@
</form> </form>
</div> </div>
<div class="col-4"> <div class="col-12 col-md-4 side_pane">
<div class="card mt-3"> <div class="card mt-3">
<div class="card-header"> <div class="card-header">
<h2>{{ community.title }}</h2> <h2>{{ community.title }}</h2>

View file

@ -58,7 +58,7 @@
</nav> </nav>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">

View file

@ -21,7 +21,7 @@
</div> </div>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
</div> </div>
</div> </div>

View file

@ -22,7 +22,7 @@
</div> </div>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
</div> </div>
</div> </div>

View file

@ -27,7 +27,7 @@
</nav> </nav>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<form method="get"> <form method="get">

View file

@ -27,7 +27,7 @@
</nav> </nav>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<form method="get"> <form method="get">

View file

@ -28,7 +28,7 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">

View file

@ -58,7 +58,7 @@
</div> </div>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">

View file

@ -132,7 +132,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">

View file

@ -35,7 +35,7 @@
}); });
</script> </script>
<div class="row"> <div class="row">
<div class="col-8 position-relative main_pane"> <div class="col-12 col-md-8 position-relative main_pane">
<h1>{{ _('Edit post') }}</h1> <h1>{{ _('Edit post') }}</h1>
<form method="post" enctype="multipart/form-data"> <form method="post" enctype="multipart/form-data">
{{ form.csrf_token() }} {{ form.csrf_token() }}
@ -90,7 +90,7 @@
</form> </form>
</div> </div>
<div class="col-4"> <div class="col-12 col-md-4 side_pane">
<div class="card mt-3"> <div class="card mt-3">
<div class="card-header"> <div class="card-header">
<h2>{{ post.community.title }}</h2> <h2>{{ post.community.title }}</h2>

View file

@ -31,7 +31,7 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">

View file

@ -27,7 +27,7 @@
</nav> </nav>
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<form method="get"> <form method="get">

View file

@ -38,7 +38,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card mt-3"> <div class="card mt-3">
<div class="card-header"> <div class="card-header">

View file

@ -29,7 +29,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
<div class="card mt-3"> <div class="card mt-3">
<div class="card-header"> <div class="card-header">

View file

@ -96,7 +96,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="col-12 col-md-4"> <div class="col-12 col-md-4 side_pane">
{% if current_user.is_authenticated and current_user.id == user.id %} {% if current_user.is_authenticated and current_user.id == user.id %}
<div class="card mt-3"> <div class="card mt-3">
<div class="card-header"> <div class="card-header">