diff -u b/core/themes/seven/style.css b/core/themes/seven/style.css --- b/core/themes/seven/style.css +++ b/core/themes/seven/style.css @@ -723,7 +723,7 @@ font-size: 1em; line-height: normal; margin: 0; - padding: .5em 1em; + padding: 0.2em 1em 0.3em; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); } a.button.add:focus, only in patch2: unchanged: --- a/core/modules/block/lib/Drupal/block/Tests/BlockTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockTest.php @@ -71,9 +71,11 @@ function testCustomBlock() { // Confirm that the add block link appears on block overview pages. $this->drupalGet('admin/structure/block'); - $this->assertRaw(l('Add block', 'admin/structure/block/add'), 'Add block link is present on block overview page for default theme.'); + $this->assertLink(t('Add block')); + $this->assertLinkByHref('admin/structure/block/add'); $this->drupalGet('admin/structure/block/list/seven'); - $this->assertRaw(l('Add block', 'admin/structure/block/list/seven/add'), 'Add block link is present on block overview page for non-default theme.'); + $this->assertLink(t('Add block')); + $this->assertLinkByHref('admin/structure/block/list/seven/add'); // Confirm that hidden regions are not shown as options for block placement // when adding a new block.