This commit is contained in:
@@ -60,6 +60,13 @@
|
|||||||
.form-control, .form-select {
|
.form-control, .form-select {
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
/* Тонкое регулирование ширины для заголовков */
|
||||||
|
.label-narrow {
|
||||||
|
flex: 0 0 120px; /* Фиксированная ширина 120px */
|
||||||
|
}
|
||||||
|
.field-wide {
|
||||||
|
flex: 1; /* Занимает оставшееся место */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -77,11 +84,11 @@
|
|||||||
<input type="hidden" id="post-id" value="{{ post_id if post_id else '' }}">
|
<input type="hidden" id="post-id" value="{{ post_id if post_id else '' }}">
|
||||||
|
|
||||||
<!-- Заголовок и поле Название в одну строку -->
|
<!-- Заголовок и поле Название в одну строку -->
|
||||||
<div class="row mb-3">
|
<div class="d-flex align-items-center mb-3">
|
||||||
<div class="col-md-1">
|
<div class="label-narrow">
|
||||||
<label for="shortname" class="form-label">Название:</label>
|
<label for="shortname" class="form-label">Название:</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-11">
|
<div class="field-wide">
|
||||||
<input type="text" class="form-control" id="shortname" maxlength="100">
|
<input type="text" class="form-control" id="shortname" maxlength="100">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user