Browse Source
* feat: add 24/25 forms, shrink tab header font size and tidy up routes.rb * feat: update formatting so 4 tabs don't wrap on small screen sizes, but links still wrap in list view * feat: shrink headers, make text the same and match underline width to tabs component * feat: use updated paper forms and fix typo in sales bu template * refactor: lint * feat: update tests * feat: update copy * feat: update copy * feat: update copy * feat: update tests and underline css * feat: update tests and underline css * refactor: lint * feat: update paper forms * feat: update file routespull/2163/head v0.4.8
natdeanlewissoftwire
11 months ago
committed by
GitHub
20 changed files with 209 additions and 67 deletions
@ -1,8 +1,9 @@ |
|||||||
class DocumentListComponent < ViewComponent::Base |
class DocumentListComponent < ViewComponent::Base |
||||||
attr_reader :items |
attr_reader :items, :label |
||||||
|
|
||||||
def initialize(items:) |
def initialize(items:, label:) |
||||||
@items = items |
@items = items |
||||||
|
@label = label |
||||||
super |
super |
||||||
end |
end |
||||||
end |
end |
||||||
|
@ -0,0 +1,15 @@ |
|||||||
|
.app-tab__small-headers { |
||||||
|
@include govuk-font(16); |
||||||
|
} |
||||||
|
|
||||||
|
@media (min-width: 35.375em) { |
||||||
|
.app-tab__list-view { |
||||||
|
min-width: 35.375em; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
@media (min-width: 35.375em) { |
||||||
|
.app-tab__underline { |
||||||
|
min-width: 35.375em; |
||||||
|
} |
||||||
|
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue