Looking at an installation of 03 Aug 2019 nightly build Joomla_4.0.0-alpha11-dev-Development-Full_Package
In the admin editor (Codemirror) when editing index.php, for example, there are several editor buttons that run onto a second row. It looks rather messy, with the two rows touching each each other and a gap at the beginning of the second row:
Tidy up the CSS. I have no idea where this code comes from, but using the Firefox inspector I can recommend the following changes end up in template.min.css and/or the html code:
Where the html is
<div id="subhead" class="subhead">
change the associated CSS from
.subhead { padding: 13px 0; }
to
.subhead { padding: 13px 0 5px 0; }
Then, where applicable to html code like this:
<button class="btn btn-primary" data-toggle="modal" data-target="[various options]">
change CSS from
.subhead .btn-toolbar > * { margin-left: .75rem; }
to:
.subhead .btn-toolbar > * { margin-right: .75rem; margin-bottom: .5rem; /* new code added */ }
After this, there is no longer any need for the first-child left margin CSS:
.subhead .btn-toolbar > :first-child { margin-left: 0; }
and,
EITHER add a new class to right-align the help button:
#toolbar-help { margin-right: 0; }
OR, change the html:
<joomla-toolbar-button id="toolbar-help" class="ml-auto">
to
<joomla-toolbar-button id="toolbar-help" class="ml-auto mr-0">
It will now all look like this:
This could possibly apply to other areas of the Admin panel.
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Status | New | ⇒ | Discussion |
closed as stated above.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-08-04 04:05:12 |
Closed_By | ⇒ | franz-wohlkoenig |
I have just installed the 'new' backend template as per PR #25570
The button layout is fine when you first click into the template files system:
BUT, as soon as you select a file to edit, there is almost the same layout I mentioned earlier, except that the Help button is correctly right-aligned:
We could group all the file/folder actions into a single dropdown button
Status | Closed | ⇒ | New |
Closed_Date | 2019-08-04 04:05:12 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ |
Status | New | ⇒ | Discussion |
Can the title of this be changed to com_templates from codemirror pplease
Title |
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-05 18:52:58 |
Closed_By | ⇒ | Quy |
Its nothing to do with codemirror.