Don't use `strong` tag to highlight unselectable items

This commit is contained in:
Yonas Habteab 2023-09-11 15:52:17 +02:00 committed by Johannes Meyer
parent fb33a2097a
commit 192a21b668
2 changed files with 9 additions and 1 deletions

View File

@ -39,7 +39,11 @@ class MigrationListItem extends BaseListItem
$title->addHtml( $title->addHtml(
new HtmlElement('span', null, Text::create($parentDirs)), new HtmlElement('span', null, Text::create($parentDirs)),
new HtmlElement('strong', null, Text::create($this->item->getVersion() . '.sql')) new HtmlElement(
'span',
Attributes::create(['class' => 'version']),
Text::create($this->item->getVersion() . '.sql')
)
); );
if ($this->item->getLastState()) { if ($this->item->getLastState()) {

View File

@ -22,6 +22,10 @@
.caption.empty-state { .caption.empty-state {
color: @gray-semilight; color: @gray-semilight;
} }
span.version {
color: @text-color;
}
} }
.migration-form { .migration-form {