Skip to content
Snippets Groups Projects
Commit 2c73c5af authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Merge branch...

Merge branch 'hotline#120776_correction_de_la_css_de_base_pour_les_badges_no_truncate' into 'hotline'

hotline MT #120776 upgrade no_truncate css class behavior

See merge request !3708
parents 7248a9b9 e3317c14
Branches
Tags
2 merge requests!3718Hotline,!3708hotline MT #120776 upgrade no_truncate css class behavior
Pipeline #11549 failed with stage
in 1 hour
- ticket #120776 : Magasin de thèmes : amélioration du comportement des badges quand on ajoute la class no_truncate. Celle-ci ajoute un retour à la ligne automatique au badge.
\ No newline at end of file
......@@ -613,6 +613,10 @@ dl.row {
max-width: none;
}
.badge-group .badge.no_truncate .text-truncate {
white-space: normal;
}
.no_badges .badge-group {
display: none !important;
}
......
......@@ -51,6 +51,7 @@ class Intonation_Library_Settings extends Intonation_System_Abstract {
'no_border_radius',
'no_shadow',
'no_overflow',
'no_truncate',
'z_index_1',
'z_index_2',
'z_index_3',
......
......@@ -199,7 +199,25 @@ class ChiliTemplateEditTemplateTest extends Admin_AbstractControllerTestCase {
/** @test */
public function customCssShouldContainsClassMenuButtons() {
$this->assertContains('"menu_buttons"', $this->_response->getBody());
$this->assertXPathContentContains('//head/script', '"menu_buttons"');
}
/** @test */
public function noTruncateClassShouldBePresent() {
$this->assertXPathContentContains('//head/script', '"no_truncate"');
}
/** @test */
public function noBackgroundClassShouldBePresent() {
$this->assertXPathContentContains('//head/script', '"no_background"');
}
/** @test */
public function noBadgesClassShouldBePresent() {
$this->assertXPathContentContains('//head/script', '"no_badges"');
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment