Skip to content

Commit

Permalink
Timeline and responsiveness updates
Browse files Browse the repository at this point in the history
  • Loading branch information
g-stamatis committed Jan 27, 2022
1 parent 96796ff commit 1ed1524
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Template = (args) => (

export const Default = Template.bind({});
Default.args = {
direction: 'right',
direction: 'left',
icon: 'user',
time: 'Date and time',
title: 'Title',
Expand Down Expand Up @@ -118,7 +118,7 @@ Default.argTypes = {

export const Multiple = (args) => (
<div className="eea-timeline">
<TimelineEEA {...args}></TimelineEEA>;
<TimelineEEA {...args}></TimelineEEA>
</div>
);

Expand All @@ -135,7 +135,7 @@ Multiple.args = {
lineHeight: 2,
},
{
direction: 'right',
direction: 'left',
icon: 'check circle',
time: 'Date and time',
title: 'Title 2',
Expand Down
2 changes: 1 addition & 1 deletion theme/themes/eea/modules/dropdown.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

.ui.dropdown {
height: auto !important;
height: 48px !important;
border: @border !important;
border-radius: @borderRadius !important;
font-family: @pageFont !important;
Expand Down
9 changes: 9 additions & 0 deletions theme/themes/eea/views/statistic.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Theme Overrides
*******************************/

div.ui.small.statistics {
margin: 0rem;
}

div.ui.statistic.eea-statistic {
width: 100%;
> .value {
Expand All @@ -24,6 +28,11 @@ div.ui.statistics.eea-statistic .statistic > .value ~ .label {
margin-top: @topLabelDistance;
}

.ui[class*="right floated"].statistic.eea-statistic {
float: right;
margin: 1rem;
}

@media only screen and (min-width: @mobileBreakpoint + 1) and (max-width: @tabletBreakpoint) {
div.ui.statistic.eea-statistic {
width: inherit;
Expand Down

0 comments on commit 1ed1524

Please sign in to comment.