mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
Variable reuse for min-touch-target
This commit is contained in:
parent
c70a436268
commit
e14f96dabb
2 changed files with 12 additions and 17 deletions
|
@ -337,8 +337,7 @@ h1 .fe-bell, h1 .fe-no-bell {
|
|||
left: 1px;
|
||||
}
|
||||
.fe-poll:before {
|
||||
content: "\e91b";
|
||||
/* possibly e985 */
|
||||
content: "\e91b"; /* possibly e985 */
|
||||
}
|
||||
|
||||
.fe-sticky-left::before {
|
||||
|
@ -475,18 +474,14 @@ fieldset legend {
|
|||
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
top: -40px;
|
||||
/* Adjust as needed to hide the link off-screen */
|
||||
top: -40px; /* Adjust as needed to hide the link off-screen */
|
||||
left: 0;
|
||||
background-color: #fff;
|
||||
/* Background color to cover the link for screen readers */
|
||||
z-index: 1060;
|
||||
/* Ensure it's above other content */
|
||||
background-color: #fff; /* Background color to cover the link for screen readers */
|
||||
z-index: 1060; /* Ensure it's above other content */
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
top: 0;
|
||||
/* Bring the link back into view when it receives focus */
|
||||
top: 0; /* Bring the link back into view when it receives focus */
|
||||
}
|
||||
|
||||
.form-group {
|
||||
|
@ -1164,7 +1159,7 @@ fieldset legend {
|
|||
padding: 5px 15px;
|
||||
}
|
||||
.comment .replies {
|
||||
margin-top: 0px;
|
||||
margin-top: 0;
|
||||
border-left: solid 1px #ddd;
|
||||
border-top: solid 1px #ddd;
|
||||
}
|
||||
|
|
|
@ -268,8 +268,8 @@ html {
|
|||
.utilities_row {
|
||||
a {
|
||||
display: inline-block;
|
||||
min-width: 44px;
|
||||
min-height:44px;
|
||||
min-width: $min-touch-target;
|
||||
min-height: $min-touch-target;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
}
|
||||
|
@ -344,12 +344,12 @@ html {
|
|||
|
||||
.post_utilities_bar {
|
||||
display: flex;
|
||||
min-height:44px;
|
||||
min-height: $min-touch-target;
|
||||
|
||||
.post_options_link {
|
||||
display: flex;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
width: $min-touch-target;
|
||||
height: $min-touch-target;
|
||||
padding: 3px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -831,7 +831,7 @@ html {
|
|||
}
|
||||
|
||||
.replies {
|
||||
margin-top: 0px;
|
||||
margin-top: 0;
|
||||
border-left: solid 1px $light-grey;
|
||||
border-top: solid 1px $light-grey;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue