Unverified Commit 346731b2 authored by Diksha Thakur's avatar Diksha Thakur Committed by GitHub

style: Design Fixes to resource detail (#461)

* Changing owners font to 16px

* Changing Font size on Dashboard details page

* Removed extra div

* Changed Font size for Table Description

* Overriding font-size to 16px in markdown tag

* Using layout file to set font size of table description
parent 54de01bd
...@@ -102,6 +102,10 @@ $resource-header-height: 84px; ...@@ -102,6 +102,10 @@ $resource-header-height: 84px;
.editable-text { .editable-text {
font-size: 16px; font-size: 16px;
.markdown-wrapper{
font-size: 16px;
}
} }
} }
......
...@@ -149,3 +149,7 @@ body { ...@@ -149,3 +149,7 @@ body {
.text-secondary { .text-secondary {
color: $text-secondary; color: $text-secondary;
} }
.text-primary{
color: $text-primary;
}
...@@ -189,7 +189,7 @@ export class DashboardPage extends React.Component<DashboardPageProps, Dashboard ...@@ -189,7 +189,7 @@ export class DashboardPage extends React.Component<DashboardPageProps, Dashboard
> >
{ {
hasDescription && hasDescription &&
<div> <div className="body-2 and text-primary">
{ dashboard.description } { dashboard.description }
</div> </div>
} }
...@@ -230,15 +230,15 @@ export class DashboardPage extends React.Component<DashboardPageProps, Dashboard ...@@ -230,15 +230,15 @@ export class DashboardPage extends React.Component<DashboardPageProps, Dashboard
} }
</div> </div>
<div className="section-title title-3">Created</div> <div className="section-title title-3">Created</div>
<div> <div className="body-2 text-primary">
{ formatDateTimeShort({ epochTimestamp: dashboard.created_timestamp}) } { formatDateTimeShort({ epochTimestamp: dashboard.created_timestamp}) }
</div> </div>
<div className="section-title title-3">Last Updated</div> <div className="section-title title-3">Last Updated</div>
<div> <div className="body-2 text-primary">
{ formatDateTimeShort({ epochTimestamp: dashboard.updated_timestamp }) } { formatDateTimeShort({ epochTimestamp: dashboard.updated_timestamp }) }
</div> </div>
<div className="section-title title-3">Recent View Count</div> <div className="section-title title-3">Recent View Count</div>
<div> <div className="body-2 text-primary">
{ dashboard.recent_view_count } { dashboard.recent_view_count }
</div> </div>
</section> </section>
...@@ -250,12 +250,14 @@ export class DashboardPage extends React.Component<DashboardPageProps, Dashboard ...@@ -250,12 +250,14 @@ export class DashboardPage extends React.Component<DashboardPageProps, Dashboard
/> />
</EditableSection> </EditableSection>
<div className="section-title title-3">Last Successful Run</div> <div className="section-title title-3">Last Successful Run</div>
<div> <div className="body-2 text-primary">
{ formatDateTimeShort({ epochTimestamp: dashboard.last_successful_run_timestamp }) } { formatDateTimeShort({ epochTimestamp: dashboard.last_successful_run_timestamp }) }
</div> </div>
<div className="section-title title-3">Last Run</div> <div className="section-title title-3">Last Run</div>
<div> <div>
<div className="body-2 text-primary">
{ formatDateTimeShort({ epochTimestamp: dashboard.last_run_timestamp }) } { formatDateTimeShort({ epochTimestamp: dashboard.last_run_timestamp }) }
</div>
<div className="last-run-state"> <div className="last-run-state">
<Flag <Flag
caseType='sentenceCase' caseType='sentenceCase'
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
margin-left: 4px; margin-left: 4px;
width: calc(100% - 28px); width: calc(100% - 28px);
word-break: break-word; word-break: break-word;
color: $text-primary;
} }
} }
......
Markdown is supported
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