In the UI does the quiet theme disclosure icon alignment look centered vertically? Here’s from the UI Rename Artboard example:
Is there anyway to center the icon vertically?
In the UI does the quiet theme disclosure icon alignment look centered vertically? Here’s from the UI Rename Artboard example:
Is there anyway to center the icon vertically?
Hi @Velara,
I use this code to align items vertically inside a container:
let container = document.createElement("div");
container.style.display = "flex";
container.style.flexDirection = "row";
container.style.alignItems = "center";
Hope it works for you too.
Thanks. I should clarify the disclosure icon is part of a drop down list.
// normal select
myList = document.createElement("select");
myList.uxpQuiet = false;
// quiet theme select
myList = document.createElement("select");
myList.uxpQuiet = true;
why don’t you use ‘select’?
myList = document.createElement("select");
That’s a typo. I’ve updated it.
Solved? Is the triangle still not aligned?