mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Closes: #10496 Changes: - Fixed alignment issues with the <scrollable-tweets> component's page indicator (Edge v16 & Safari 10) - Added a hard-coded height to embedded youtube videos in Markdown content to fix it rendering with a height of 0 (Edge v17 & Firefox v54) - Fixed table example syntax highlighting (Edge v17, Chrome v55, Firefox v54, Opera v42, & Safari v10) - Added a set width to the edit page button on tables pages (Safari v10, Firefox v54) - Fixed a bug with the sidebar height on tables pages (Edge v17) - Fixed styling on the pricing calculator inputs (Safari v10 & Firefox v54) - Fixed a layout issue with the pricing calculator call-to-action buttons (Safari v10) - Hid browser-specific form input buttons (Firefox v54) - Fixed the sidebar CTA image on documentation pages (Opera v42) - Fixed a CSS issue with the user story banner on `/platform` (Safari v10, Firefox v54, Chrome v55, Opera v42) - Updated the documentation page script to only copy links to the user's clipboard if the user's browser supports it. - Updated minimum browser versions for Edge, Chrome, and Opera for async functions support. (Edge v16 » Edge v17, Chrome v51 » Chrome v55, Opera v38 » Opera v42)
95 lines
1.8 KiB
Text
Vendored
95 lines
1.8 KiB
Text
Vendored
|
|
/**
|
|
* <scrollable-tweets>
|
|
*
|
|
* App-wide styles for horizontally scrolling rows of tweets.
|
|
*/
|
|
|
|
[parasails-component='scrollable-tweets'] {
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
|
|
|
|
[purpose='tweets']::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
[purpose='tweets'] {
|
|
overflow-x: scroll;
|
|
scroll-behavior: smooth;
|
|
padding-left: 120px;
|
|
padding-right: 120px;
|
|
margin-top: 80px;
|
|
padding-bottom: 16px;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
[purpose='tweet-card'] {
|
|
max-width: 367px;
|
|
min-width: 367px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-left: 8px;
|
|
margin-right: 8px;
|
|
margin-bottom: 8px;
|
|
text-align: left;
|
|
background: #FFFFFF;
|
|
padding: 40px;
|
|
border: 1px solid @core-vibrant-blue-15;
|
|
box-sizing: border-box;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
[purpose='tweets-page-indicator'] {
|
|
margin-bottom: 40px;
|
|
cursor: pointer;
|
|
li {
|
|
padding: 4px;
|
|
height: 16px;
|
|
width: 16px;
|
|
border-radius: 100%;
|
|
margin-right: 8px;
|
|
background-color: @core-vibrant-blue-15;
|
|
}
|
|
li.selected {
|
|
background-color: @core-fleet-black-50;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 991px) {
|
|
[purpose='tweets'] {
|
|
padding-left: 80px;
|
|
padding-right: 80px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
[purpose='tweets'] {
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
[purpose='tweets'] {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
[purpose='tweet-card'] {
|
|
min-width: 280px;
|
|
padding: 20px;
|
|
border-radius: 16px;
|
|
}
|
|
[purpose='tweets-page-indicator'] {
|
|
li {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|