Add grid, center the clock
This commit is contained in:
1 parent
0a3bcb8ea1
commit
9a401cf917
3 files changed
+7
-5
No files matched your search
@@ -42,11 +42,11 @@ export default class DefaultClockComponent extends Component {
|
||||
}
|
||||
|
||||
<template>
|
||||
<div class="component clock">
|
||||
<div class="time">
|
||||
<div class="text-center text-white">
|
||||
<div class="text-[6rem] font-semibold">
|
||||
{{this.formattedTime}}
|
||||
</div>
|
||||
<div class="greeting">
|
||||
<div class="text-[2rem]">
|
||||
{{this.greeting}}, <span class="name">{{@name}}</span>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@ import { pageTitle } from 'ember-page-title';
|
||||
<template>
|
||||
{{pageTitle "Dashtab"}}
|
||||
|
||||
<div id="wrapper" class="bg-cyan-900">
|
||||
<div id="wrapper" class="bg-cyan-900 min-h-screen w-full grid grid-cols-3 grid-rows-3">
|
||||
{{outlet}}
|
||||
</div>
|
||||
</template>
|
||||
@@ -4,5 +4,7 @@ import DefaultClock from '../components/default-clock.gjs';
|
||||
<template>
|
||||
{{pageTitle "New Tab"}}
|
||||
|
||||
<DefaultClock @name="Râu" />
|
||||
<div class="col-start-2 row-start-2 flex items-center justify-center">
|
||||
<DefaultClock @name="Râu" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user