fix: CSS adjustments

This commit is contained in:
Ginger
2026-05-22 09:35:10 -04:00
parent 7ee9e09b05
commit 26d0d80737
3 changed files with 14 additions and 15 deletions
-4
View File
@@ -41,10 +41,6 @@
.id { .id {
color: var(--secondary); color: var(--secondary);
font-weight: normal; font-weight: normal;
&::before {
content: "•";
}
} }
} }
@@ -10,15 +10,18 @@
{% endif %} {% endif %}
</span> </span>
{% if style == DeviceCardStyle::Detailed %} {% if style == DeviceCardStyle::Detailed %}
<ul class="id bullet-separated"> <span class="id">
<li>{{ device_id }}</li>
<li> <ul class="bullet-separated">
{% if let Some(metadata) = oauth_metadata %} <li>{{ device_id }}</li>
<a href="{{ metadata.client_uri }}">Client website</a> <li>
{% else %} {% if let Some(metadata) = oauth_metadata %}
(legacy) <a href="{{ metadata.client_uri }}">Client website</a>
{% endif %} {% else %}
</li> legacy
{% endif %}
</li>
</span>
</span> </span>
{% endif %} {% endif %}
</div> </div>
@@ -2,8 +2,8 @@
{{ avatar }} {{ avatar }}
<div class="info"> <div class="info">
{% if let Some(display_name) = display_name %} {% if let Some(display_name) = display_name %}
<p class="name">{{ display_name }}</p> <div class="name">{{ display_name }}</div>
{% endif %} {% endif %}
<p class="id">{{ user_id }}</p> <div class="id">{{ user_id }}</div>
</div> </div>
</div> </div>