Merge pull request #13 from ok2/codex/improve-layout-of-current-cobie-time-and-analog-clock
Improve time and analog clock layout
This commit is contained in:
commit
76bb243d9e
@ -18,6 +18,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
#clock {
|
#clock {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
13
style.css
13
style.css
@ -68,6 +68,11 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
height: 40vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
.current-time.manual::before {
|
.current-time.manual::before {
|
||||||
@ -366,13 +371,15 @@
|
|||||||
.time-display {
|
.time-display {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
align-items: flex-start;
|
align-items: stretch;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.analog-clock-container {
|
.analog-clock-container {
|
||||||
flex: 0 0 300px;
|
flex: 0 0 auto;
|
||||||
|
width: 40vmin;
|
||||||
|
margin-left: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user