Skip to content

Commit e6582d8

Browse files
author
Shane Osbourne
committed
perfectly align text
1 parent fb2e64a commit e6582d8

File tree

1 file changed

+6
-7
lines changed
  • packages/special-pages/pages/duckplayer/src/assets

1 file changed

+6
-7
lines changed

packages/special-pages/pages/duckplayer/src/assets/player.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ body {
108108
padding: 12px;
109109
padding-top: 24px;
110110
height: 32px;
111+
display: flex;
111112
}
112113

113114
@media (prefers-reduced-motion) {
@@ -122,15 +123,14 @@ body.faded .toolbar {
122123
}
123124

124125
.logo {
125-
float: left;
126126
font-style: normal;
127127
font-weight: 600;
128128
color: #ffffff;
129-
margin-top: 4px;
129+
display: flex;
130+
align-items: center;
130131
}
131132

132133
.dax-icon {
133-
margin-bottom: -7px;
134134
margin-right: 5px;
135135
}
136136

@@ -195,15 +195,14 @@ body.faded .toolbar {
195195
}
196196

197197
.options {
198-
float: right;
198+
margin-left: auto;
199+
display: flex;
200+
align-items: center;
199201
}
200202

201203
.setting-container {
202-
position: absolute;
203-
right: 207px;
204204
overflow: hidden;
205205
white-space: nowrap;
206-
margin: 8px;
207206
margin-right: 0;
208207
width: 299px;
209208
}

0 commit comments

Comments
 (0)